-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cant convert to img #32
Comments
Im using version 1.3.7 of the gem |
Hey daniel00k: I'm using Ruby 1.9.2-p290 and IMGKit 1.3.7 and was able to do the following: http://cl.ly/image/3E0n0W1w312M What system (OS) are you on? |
Also, I'm using wkhtmltoimage 0.10.0 rc2 |
I downloaded that version and use the http://code.google.com/p/wkhtmltopdf/downloads/list version of the binary. The version installed with brew did not work either. Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is what i do on a rails console:
kit = IMGKit.new("http://www.google.com", quality: 40, zoom: 0.2)
img = kit.to_img(:png)
and the result is an error like this:
Errno::ENOEXEC: Exec format error - /Users/danielaguilar/Documents/acid/efizity/lib/wkhtmltoimage-i386
'from /Users/danielaguilar/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/open3.rb:202:in
spawn' from /Users/danielaguilar/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/open3.rb:202:in
popen_run'from /Users/danielaguilar/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/open3.rb:90:in
popen3' from /Users/danielaguilar/.rvm/gems/ruby-1.9.2-p320@efizity/gems/imgkit-1.3.7/lib/imgkit/imgkit.rb:88:in
capture3'from /Users/danielaguilar/.rvm/gems/ruby-1.9.2-p320@efizity/gems/imgkit-1.3.7/lib/imgkit/imgkit.rb:108:in
to_img' from (irb):2 from /Users/danielaguilar/.rvm/gems/ruby-1.9.2-p320@efizity/gems/railties-3.1.3/lib/rails/commands/console.rb:45:in
start'from /Users/danielaguilar/.rvm/gems/ruby-1.9.2-p320@efizity/gems/railties-3.1.3/lib/rails/commands/console.rb:8:in
start' from /Users/danielaguilar/.rvm/gems/ruby-1.9.2-p320@efizity/gems/railties-3.1.3/lib/rails/commands.rb:40:in
<top (required)>'from script/rails:6:in
require' from script/rails:6:in
The text was updated successfully, but these errors were encountered: