Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Can't install wkhtmltoimage on OSX #28

DaveSanders opened this Issue · 9 comments

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
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






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


Alternate download instructions:
1) Download
2) Move it /usr/local/bin

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


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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.