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

Closed
DaveSanders opened this Issue Jul 24, 2012 · 9 comments

Comments

Projects
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
Password:
/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

+1

+1

jancel commented Aug 28, 2012

+1

kretz commented Aug 28, 2012

+1

@ghost

ghost commented Aug 31, 2012

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

https://github.com/csquared/IMGKit/pull/29/files

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.

Owner

csquared commented Sep 19, 2012

Just merged and released the pull request from @brandonmeeteor
Thanks!
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