0

I've been working on a ruby on rails web app - I'm trying to start a rails server but everytime I type "rails s" into the terminal, an error code appears that says:

/usr/local/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/usr/local/Cellar/ruby/2.1.4/lib/ruby/2.1.0/x86_64-darwin14.0/digest/sha1.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (LoadError)
Referenced from: /usr/local/Cellar/ruby/2.1.4/lib/ruby/2.1.0/x86_64-darwin14.0/digest/sha1.bundle
Reason: image not found - /usr/local/Cellar/ruby/2.1.4/lib/ruby/2.1.0/x86_64-darwin14.0/digest/sha1.bundle"

There is a whole string of extra output that says "from".

Does anyone know how to fix this? I recently updated to Mac El Capitan Beta OS X. I'm not sure if this is the reason (rails s worked yesterday). Since yesterday, I did try to install sass bootstrap - maybe that's the reason?

Any help much appreciated

davids
  • 6,259
  • 3
  • 29
  • 50
AceGravity
  • 333
  • 2
  • 6
  • 13

1 Answers1

0

Seems to be an openssl issue. Try:

rbenv install 2.1.4

Source: Ruby Bundle Symbol not found: _SSLv2_client_method (LoadError)

ddgd
  • 1,657
  • 1
  • 15
  • 25