Installing Ruby, Rails on CentOS
Installing Ruby on Rails involves using yum to first install ruby and then to install ruby docs, irba followed by rails installation.
$ yum install -y ruby
$ yum install -y ruby-devel ruby-docs ruby-ri ruby-irb ruby-rdoc
$ gem install rails –include-dependencies
To install Ruby Gems
$ wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
$ tar xvf rubygems-1.3.1.tgz
$ cd rubygems-1.3.1
$ ruby setup.rb
To install Radrails IDE
RadRails is one of the tools that can be used to develop scripting languages like Ruby, PHP. Thought it is preferred to hand code programs, knowledge of using an IDE comes in handy at times. The following steps should help you install RadRails on CentOS
$ wget http://prdownloads.sourceforge.net/radrails/radrails-0.6.2-linux.zip?download
Extract the files and then you can open the RadRails by executing the command
$ ./radrails/radrails
To check if ruby, rails is installed you can check their versions numbers to ensure that it got installed.
$ ruby -v
$ rails -v
Hope this gives a good installation intro for Ruby on Rails. Hope it saved your some time