Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Can't install wkhtmltoimage on OSX #28

DaveSanders opened this Issue Jul 24, 2012 · 9 comments


None yet
9 participants

I'm running into this error when trying to install wkhtmltoimage per the directions, both inside rvm and outside:

$rvmsudo imgkit --install-wkhtmltoimage
/Users/dave/.rvm/gems/ruby-1.9.3-p194@spacejunk/gems/imgkit-1.3.6/bin/imgkit:12: Use RbConfig instead of obsolete and deprecated Config.
/Users/dave/.rvm/gems/ruby-1.9.3-p194@spacejunk/gems/imgkit-1.3.6/bin/imgkit:79:in block (3 levels) in <top (required)>': undefined method+' for nil:NilClass (NoMethodError)
from /Users/dave/.rvm/gems/ruby-1.9.3-p194@spacejunk/gems/imgkit-1.3.6/bin/imgkit:98:in call' from /Users/dave/.rvm/gems/ruby-1.9.3-p194@spacejunk/gems/imgkit-1.3.6/bin/imgkit:98:in<top (required)>'
from /Users/dave/.rvm/gems/ruby-1.9.3-p194@spacejunk/bin/imgkit:19:in load' from /Users/dave/.rvm/gems/ruby-1.9.3-p194@spacejunk/bin/imgkit:19:in


Also getting this problem



jancel commented Aug 28, 2012


kretz commented Aug 28, 2012



ghost commented Aug 31, 2012

FYI - this pull request fixes the missing ENV["TO"] value it's tripping on


sammcd commented Sep 16, 2012

Alternate download instructions:

  1. Download http://wkhtmltopdf.googlecode.com/files/wkhtmltoimage-OSX-0.10.0_rc2-static.tar.bz2
  2. Move it /usr/local/bin

This is basically what the script does, until brandon's patch gets added.


csquared commented Sep 19, 2012

Just merged and released the pull request from @brandonmeeteor
Sorry for the long delay -- I actually broke my hand 2 months ago, but its all healed now :)

Would be happy to share the repo rights if anyone's interested.

@csquared csquared closed this Sep 19, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment