Basic steps to setup RVM    The next time you decide to install ruby for multiple applications, rvm is the best option to handle various versions easily. Just follow the below steps which i have compiled to make things clear and easy:     Install rvm,Ruby 1.9.2 and rails 3.0.0   Execute the commands as specified:   $ which ruby  $  $ sudo apt-get install curl git-core ruby  $ bash < <( curl https://rvm.beginrescueend.com/releases/rvm-install-head )  $ vim $HOME/.bashrc   You need to replace the line that says           [ -z "$PS1" ] && return   with           if [[ -n "$PS1" ]]; then   Now add this to the last line of the file            if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi          f i   Reload the environment by running   $ source ~/.bash_profile or restart the terminal   Now enter,  $ rvm notes   This lists the packages to be installed for various ...