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
As root, you traditionally don't have a /home folder. Root's home is different than a normal user.
/home
You very likely don't want to install RVM as root.
Please do read the information at http://rvm.io specifically the installation notes.