RailsCasts Pro episodes are now free!

Learn more or hide this

cwseric's Profile

GitHub User: cwseric

Comments by

Avatar

Hello,

I am using PDFKit on Mac 10.7 and powify as my local development server. I tried installing the software as described in the cast but am getting the following error when running through my app.

command failed: "/usr/local/bin/wkhtmltopdf" "--page-size" "Letter" "--margin-top" "0.75in" "--margin-right" "0.75in" "--margin-bottom" "0.75in" "--margin-left" "0.75in" "--encoding" "UTF-8" "--ignore-load-errors" "--quiet" "-" "-"

If I run through the command line I can generate pdf's. If anyone has an idea on how to fix this that would be great. I'm really new to rails so a detailed explanation would be helpful.

Thanks

Eric