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 opensslto install
rvm install ruby --with-openssl-dir=$HOME/.rvm/usrto build with the previously installed version of openssl.