Installing RVM, Ruby, Rails and MySQL on Ubuntu
This guide will help you install and set up ruby 1.9.2, RVM, Rails and MySQL on Ubuntu machine. If you are not using Ubuntu then don’t try this method to install rails.
Installing Ruby, Rails and MySQL without RVM on Ubuntu
The best way to install Ruby is by using RVM but those who don’t want to install RVM; this guide may be helpful for them. Installing Ruby without RVM is also easy process. You can directly install it from the apt Using the command:
sudo apt-get install ruby1.9.2-full