User:Sunilteja005

apt-get aptitude

apt-get install aptitude

sudo aptitude update

sudo apt-get install build-essential git-core curl

bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

echo ' -s "$HOME/.rvm/scripts" && source "$HOM/.rvmscripts/rvm"' >> ~/bashrc

sudo apt-get install ruby-rvm

rvm install 1.9.2

apt-get install ruby1.9.2

ruby -v

rvm --default use 1.9.2

sudo gem install rubygems-update

sudo update_rubygems

sudo gem install rails