Hi all i’m trying to generate pdf and i got this error
Location of wkhtmltopdf unknown and i also get
Bad wkhtmltopdf's path
gpa/vendor/plugins/wicked_pdf/lib/wicked_pdf.rb:26:in `initialize'
/EDWARD/_gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `new'
/EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:53:in `make_pdf'
/EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:65:in `make_and_send_pdf'
/EDWARD/gpa/vendor/plugins/wicked_pdf/lib/pdf_helper.rb:17:in `render'
/EDWARD/gpa/app/controllers/application_controller.rb:292:in `render'
/EDWARD/gpa/app/controllers/student_controller.rb:516:in `profile_pdf'
Can any one help me what went wrong
Cheers
You need to be sure that your exe_path is that on file, if its not you just need to point out to the right place, the past year I need to do something like that, and I realized that my path was wrong. Hope its help.
#:exe_path => '/usr/bin/wkhtmltopdf
the fact here is here is wkhtmltopdf, I strictly recommend you to install through the project’s week and it will work fine.