Ruby (and Ruby on Rails) is getting really interesting at the moment, especially with the 3.3.0 release of Ruby. But it turned out to be a bit troublesome to install 3.3.0 using RVN. It rutned out that hsi works :
rvm install ruby-3.3.0 –with-openssl-dir=$(brew –prefix openssl@1.1
And Ruby 3.3.0 now installs