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

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -