Hi everybody I'm trying to use wicked pdf in rails 4.
I follow this page https://github.com/mileszs/wicked_pdf.
I did:
gem install wicked pdf
Then I tried the command
rails g wicked_pdf
### And got "Could not find the generator"
I'm trying to export a view
Here is the demo and code
Please somebody can help me to configure wicked_pdf?
A few things
First, you need to put this gem 'wicked_pdf'
and gem 'wkhtmltopdf-binary'
in your Gemfile
and run bundle install
Second, According to the docs instead of
rails g wicked pdf
You should be entering
rails g wicked_pdf