Compile ruby with a different version of openssl
by Danny Willems
You may need to compile and install a ruby version using rvm with a different version of openssl. On Ubuntu 22.04, openssl 3.0 is now used, and you will face build issues if you try to install ruby with rvm. Here a temporary fix.
- Install rvm
rvm pkg install openssl
to installopenssl-1.0.1i
rvm install ruby --with-openssl-dir=$HOME/.rvm/usr
to build with the previously installed version of openssl.