wicked_pdf

This commit is contained in:
root 2016-10-06 15:44:58 +02:00
parent 4bc074febd
commit 089788d79b
1 changed files with 2 additions and 1 deletions

View File

@ -12,8 +12,9 @@ WickedPdf.config = {
# Path to the wkhtmltopdf executable: This usually isn't needed if using
# one of the wkhtmltopdf-binary family of gems.
# exe_path: 'c:/Program Files/wkhtmltopdf/bin/wkhtmltopdf',
exe_path: '/usr/local/rvm/gems/ruby-2.2.5/gems/wkhtmltopdf-binary-0.9.9/bin/wkhtmltopdf_linux_x64'
# or
exe_path: Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf')
# exe_path: Gem.bin_path('wkhtmltopdf-binary', 'wkhtmltopdf')
# Layout file to be used for all PDFs
# (but can be overridden in `render :pdf` calls)