I was installing the ruby on rails on ubuntu using Ruby Version Manager, I logged in as a root user and started with the commands
\curl -SSL https://get.rvm.io | bash -s stable --rails
(this showed up without any error)
then continued with
source ~/.rvm/script/rvm
(if i run this then it showing me bash: /home/XXX/.rvm/scripts/rvm: No such file or directory )