Displaying 1 result from an estimated 1 matches for "new_pdf_path".
2010 Nov 15
2
How to add an exe to Rails app
...wkhtmltopdf static binary in:
rails_root/vendor/wkhtmltopdf
I am not using any plug ins for wkhtmltopdf, just the executable, on purpose
and want to keep it this way.
My code wants to execute wkhtmltopdf:
# tell wkhtmltopdf to convert html file to pdf
%x[wkhtmltopdf-amd64 #{html_path} #{new_pdf_path}]
But it is not found... is there a way I can tell my rails app to look in
vendor/wkhtmltopdf for the exe?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3Mboc...