Open the installation log file, if you find an error like this:
error: ‘ERR_get_error_line_data’ is deprecated: Since OpenSSL 3.0
Then it means that the openssl version of your system is too new, we need to install an old version of openssl, but it cannot overwrite the new version.
The command is as follows:
rvm pkg install openssl
rvm reinstall 2.7.6 --with-openssl-dir=/usr/local/rvm/usr/
/usr/local/rvm/usr/
You need to adjust the directory here to your rvm storage directory. There should be bin include lib ssl
a directory like in this directory. Please search for the specific location.
over.