Skip to content

Instantly share code, notes, and snippets.

@Shine18
Last active October 30, 2023 13:53
Show Gist options
  • Select an option

  • Save Shine18/cf7b5f79f1971d5fed8f795fa28454ee to your computer and use it in GitHub Desktop.

Select an option

Save Shine18/cf7b5f79f1971d5fed8f795fa28454ee to your computer and use it in GitHub Desktop.
Solution for "cannot load such file -- openssl" on RVM
When i tried to install any ruby version, I got error
Error running '__rvm_make install',
please read /Users/shine18/.rvm/log/1698671652_ruby-2.7.6/install.log
There has been an error while running make install. Halting the installation.
Problem: It tries to load openssl@1 which is superseded by openssl@3
Solution:
$ brew unlink openssl@3
$ brew link openssl@1.1 --force
$ rvm install 2.7.6
This will work successfully and install ruby 2.7.6 into your system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment