rubyjs/therubyracer

Issue Running Server or Console

dudleysr opened this issue · 1 comments

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:

  • using the system v8 with v8 and v8-315 installed through Homebrew
  • Installing therubyracer (0.12.2 as specified in the Gemfile) and libv8 (various combinations) beforehand manually

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

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!