pdfkit gem was successfully installed on my machine. Then I ran gem install wkhtmltopdf-binary , and the output was
Successfully installed wkhtmltopdf-binary-0.9.9.1 1 gem installed Installing ri documentation for wkhtmltopdf-binary-0.9.9.1... unable to convert "\xC0" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_386, skipping unable to convert "\xA3" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_x64, skipping unable to convert "\xCE" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_darwin_386, skipping Installing RDoc documentation for wkhtmltopdf-binary-0.9.9.1... unable to convert "\xC0" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_386, skipping unable to convert "\xA3" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_x64, skipping unable to convert "\xCE" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_darwin_386, skipping
Well, then I tried to access the pdf version of my page. But it also showed me the error Runtime Error ControllerName # show
command failed: "/home/yasir/.rvm/gems/ruby-1.9.3-p194/bin/wkhtmltopdf" "--page-size" "Letter" "--margin-top" "0.75in" "--margin-right" "0.75in" "--margin-bottom" "0.75in" "--margin-left" "0.75in" "--encoding" "UTF-8" "--quiet" "-" "-
"
source share