Fix openssl error (macOS, ruby 2.3)
Public
08 Jun 13:11

Let’s get straight to the point. Ruby 2.3 does not support OpenSSL v.1.1 which is the only one available in macOS. You’ll need to install older OpenSSL via brew, from rbenv’s repository.

  • First, you’ll need to install [email protected] via brew:
    brew install rbenv/tap/openssl@1.0
    
  • Finally, you’ll need to pass that legacy openssl’s version to your rvm install/reinstall command - **remember to replace with the version you're struggling to install** :
rvm reinstall <ruby_version> --with-openssl-dir=$(brew --prefix openssl@1.0)

That’s it! Happy developing!

#untagged

Comments

Empty! You must sign in to add comments.