I just walk-through with the installation of Ruby on Rails on Ubuntu using RVM.
First I have logged in as the root user.
Then I started with the f
This source /usr/share/rvm/scripts/rvm works for me on ubuntu 20.04. I changed the local in /usr/local/rvm/scripts/rvm to share I assume that you have installed the rvm.
source /usr/share/rvm/scripts/rvm
/usr/local/rvm/scripts/rvm