Skip to content

Instantly share code, notes, and snippets.

@nachocab
Created January 2, 2011 16:14
Show Gist options
  • Save nachocab/762617 to your computer and use it in GitHub Desktop.
Save nachocab/762617 to your computer and use it in GitHub Desktop.
irb(main):002:0> require 'v8'
LoadError: dlopen(/usr/local/lib/ruby/gems/1.8/gems/therubyracer-0.8.0/ext/v8/v8.bundle, 9): no suitable image found. Did find:
/usr/local/lib/ruby/gems/1.8/gems/therubyracer-0.8.0/ext/v8/v8.bundle: mach-o, but wrong architecture - /usr/local/lib/ruby/gems/1.8/gems/therubyracer-0.8.0/ext/v8/v8.bundle
from /usr/local/lib/ruby/gems/1.8/gems/therubyracer-0.8.0/ext/v8/v8.bundle
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/therubyracer-0.8.0/lib/v8.rb:6
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from (irb):2
irb(main):003:0>
@cowboyd
Copy link

cowboyd commented Jan 3, 2011

What OS, Architecture and Ruby version are you using?

@nachocab
Copy link
Author

nachocab commented Jan 3, 2011

OSX 10.6, x86_64, Ruby 1.8.7

@nachocab
Copy link
Author

nachocab commented Jan 3, 2011

never mind. I was using ruby i386 instead of x86_64. Silly me

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