Last active
October 30, 2023 13:53
-
-
Save Shine18/cf7b5f79f1971d5fed8f795fa28454ee to your computer and use it in GitHub Desktop.
Solution for "cannot load such file -- openssl" on RVM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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