Step 1 => Install git
-> sudo apt-get install git
-> make && sudo make install
Step 2 => Install curl
provides the best path http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
Step3 => Install RVM
-> bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
-> type rvm | head -1
Step 4 => Install Ruby
-> rvm install 1.9.2
-> rvm use 1.9.2
Step => 5 Install GEMS(RAILS and SQL)
-> gem install rails
-> gem install sqlite3
Now all basic installation get completed. Now you can enjoy with Ruby On Rails ….
rails new apps_name cd apps_name rails server And start your server at http://localhost:3000