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
Post a Comment