-
Notifications
You must be signed in to change notification settings - Fork 0
Pdf kit
diegoesp edited this page Aug 25, 2012
·
5 revisions
Here's the general reference: https://github.com/pdfkit/pdfkit/wiki/Installing-WKHTMLTOPDF
- Download the correct build from http://code.google.com/p/wkhtmltopdf/. Remember to check if your linux is x32 or x64 with "uname -a"
- Extract the bz2 (tar xjvf) to /usr/local/bin. It is just a binary executable so it makes sense to leave it there.
- Ensure that there's an executable in the path called "wkhtmltopdf" because that is what the gem will be looking for. For example, I made a hard link to the extracted file wkhtmltopdf-amd64
- Add the pdfkit gem to the gemfile