Recently, I installed Ubuntu 22.04 because I wanted to be on the latest version.
I installed rvm.io without issues, then I just wanted to download the ruby binary as usual.
rvm install 2.6.9
and oh, surprise! ran in the following error
at the beginning I didn’t understand the error,
I thought needed to install some
rvm requirements, but didn’t work.
to solve it, need to downgrade the
rvm pkg install openssl
rvm install ruby-2.6.9 --with-openssl-dir=$HOME/.rvm/usr
problably you will have errors in another gems, though