Again- I'm not sure I'm really helping here at all but I had to add the
following to application.rb
#pdfkit
config.middleware.use "PDFKit::Middleware", :print_media_type =>
true
PDFKit.configure do |config|
config.wkhtmltopdf =
'/Users/conor/.rvm/gems/ruby-1.9.2-p0/bin/wkhtmltopdf'
end
This if you want to use PDFKit as rack middleware
Nick Burdick wrote in post #965213:
> :) Yep... it should go without saying... but that seems to be exactly
> what my problem is. Go figure. I'm still having an error issue inside
> Rails, but I think that has something to do with the configuration.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.