This commit is contained in:
Adrian Hinz 2022-05-04 14:23:35 +02:00
parent 220724c31e
commit ae035b2319
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ gem 'jbuilder', '~> 2.5'
gem 'kaminari'
gem 'bootstrap4-kaminari-views'
gem 'wicked_pdf'
gem 'wkhtmltopdf-binary'
gem 'friendly_id', '~> 5.4.0'
gem 'combine_pdf'
# Use ActiveStorage variant

View File

@ -15,7 +15,7 @@ WickedPdf.config = {
# or
# exe_path: Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf')
# exe_path: 'c:\Program Files\wkhtmltopdf\bin\wkhtmltopdf.exe'
exe_path: '/usr/bin/wkhtmltopdf',
# exe_path: '/usr/bin/wkhtmltopdf',
# Layout file to be used for all PDFs
# (but can be overridden in `render :pdf` calls)
layout: 'pdf.html.erb'