ruby on rails 4 - Bad wkhtmltopdf's path for wicked_pdf and wkhtmltopdf -


i use 2 gems html pdf convert.

using "https://github.com/mileszs/wicked_pdf"

gem 'wicked_pdf'  gem "wkhtmltopdf-binary" 

/initializer/wicked_pdf.rb

wickedpdf.config = {   exe_path =>  "xxxxxxxxxxxxxxxxxxx" } 

what path use in exe_path ?

which wkhtmltopdf

this give path of wkhtmltopdf. should copy path , paste in config/intializers/wicked_pdf.rb , restart server.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -