sinatra/sinatra-book

Error installing wkhtmltopdf-binary

Closed this issue · 4 comments

I use OS X version 10.9 and ruby 2.0.0p247

Error after trying bundle

 NoMethodError: undefined method `size' for nil:NilClass
 An error occurred while installing wkhtmltopdf-binary (0.9.9.1), and Bundler     cannot continue.
  Make sure that `gem install wkhtmltopdf-binary -v '0.9.9.1'` succeeds before   bundling.
zzak commented

I cant tell anymore if this gem works or what we're supposed to do so our users can easily generate a pdf from the html we get from rdoc.

If you have any ideas, let me know! Thanks for working on this.

kgrz commented

This link has detailed instructions on installing the binary. https://github.com/pdfkit/pdfkit/wiki/Installing-WKHTMLTOPDF

we could do away with the gem since brew is a better package manager than Rubygems for binaries :)

zzak commented

The gem has been updated more recently, so I'd be curious if this is still an issue. Please re-open if anyone can reproduce it.