CentOS 5.2 에서 rails 설치.

1. Install ruby

> yum install ruby ruby-devel ruby-libs ruby-irb ruby-rdoc


2. Install gem
> wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
> tar xvf rubygems-1.3.1.gz
> cd rubygems-1.3.1
> ruby setup.rb

3. Install Rails
> gem install rails