rubyjs / therubyracer

Embed the V8 Javascript Interpreter into Ruby
1.67k stars 190 forks source link

Issue Running Server or Console #426

Closed dudleysr closed 7 months ago

dudleysr commented 7 years ago

I am getting an error whenever I attempt to run the server or console:

vendor/ruby/1.9.1/gems/activesupport-3.2.22/lib/active_support/dependencies.rb:251:in `require': dlopen(/vendor/ruby/1.9.1/gems/therubyracer-0.12.2/lib/v8/init.bundle, 9): Library not loaded: /usr/local/lib/libruby.1.9.1.dylib (LoadError) Referenced from:/vendor/ruby/1.9.1/gems/therubyracer-0.12.2/lib/v8/init.bundle Reason: image not found - /vendor/ruby/1.9.1/gems/therubyracer-0.12.2/lib/v8/init.bundle

I've gotten this same error with the following combinations:

I am on OS X 10.12.1, Ruby 1.9.3, Rails 3.2.22.

MatthiasWinkelmann commented 7 years ago

Those versions are 9 and 5 years old and long EOL'd. That might not be the reason for the error, but it's the first thing I'd try. And don't use that ruby/rails on the open internet!