How to Install Ruby on Rails

Jun 28, 2012, by admin

ruby-on-rails-logoRuby on Rails, frequently shortened to Rails or RoR, is an open source web application framework for the Ruby programming language. It is future to be used with an Agile development attitude that is used by web developers for rapid development.

Note: This tutorial helps in answering the following questions

how to install ruby on rails on mac , how to install ruby on rails on windows , how to install ruby on rails on ubuntu , how to install rails with rvm , how to install ruby on rails on windows xp , how to install ruby on rails on centos , how to install ruby on rails windows 7 , how to install ruby on rails on mac lion , how to install ruby on rails on linux , how to install ruby on rails on ubuntu 12.04 , how to install ruby on rails on ubuntu 11.10 , How to Install ror

Before installing rails, you need to install the ruby and rubygem.

Use “gem install rails” else you can update “gem update rails -V”, if installing for the first time.

ruby-on-rails -V is for verbose, it will show you what’s going on behind the screen. Also remember to use sudo before the command in ubuntu, mac os x. Otherwise it fails at the very end, very annoying.

  •     if installing new rails
  •     sudo gem install rails
  •     if rails already present, and you want to update
  •     sudo gem update rails -V