I installed ubuntu 12.04. I want to use ruby 1.9.3 so I started installing RVM. To install RVM I referred this site https://www.digitalocean.com/community/articles/how-to-install-ruby-on-rails-on-ubuntu-12-04-lts-precise-pangolin-with-rvm