Skip to content

Error Troubleshooting

Micah Brown edited this page Sep 11, 2020 · 1 revision

Ruby Errors

OpenSSL Library Not Loaded Error

 Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (LoadError)
  Referenced from: /Users/micahyb/.rubies/ruby-2.6.5/lib/ruby/2.6.0/x86_64-darwin19/openssl.bundle
  Reason: image not found - /Users/micahyb/.rubies/ruby-2.6.5/lib/ruby/2.6.0/x86_64-darwin19/openssl.bundle

This error occurs when you upgrade to openssl v1.1.1 or later and your ruby was compiled with openssl v1.0. You will need to reinstall ruby using the --with-openssl-dir option with whatever version of openssl you're using.

Example:

ruby-install ruby 2.3.3 --no-install-deps -- --with-openssl-dir=$(brew --prefix [email protected]) --disable-install-doc
Clone this wiki locally