diff --git a/config/initializers/wicked_pdf.rb b/config/initializers/wicked_pdf.rb index ad5cec2..743ab15 100644 --- a/config/initializers/wicked_pdf.rb +++ b/config/initializers/wicked_pdf.rb @@ -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)