You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*[Blog: Generate PDFs in Rails 3.2](http://snikt.net/rails/2012/04/26/wicked-pdf/)
## Install wicked_pdf
Add to Gemfile: ```gem 'wicked_pdf'```
In terminal: ```bundle```
## For local, install wkhtmltopdf
In terminal: ```git checkout 6e2d550 /usr/local/Library/Formula/wkhtmltopdf.rb```
In terminal: ```brew install wkhtmltopdf```
*Make sure you installed wkhtmltopdf 0.9.9*
## For Heroku, download wkhtmltopdf
Go to [wkhtmltopdf](http://code.google.com/p/wkhtmltopdf)
Download the [wkhtmltopdf-0.9.9 Linux Static Binary (amd64)](http://code.google.com/p/wkhtmltopdf/downloads/detail?name=wkhtmltopdf-0.9.9-static-amd64.tar.bz2&can=2&q=) binary