Ruby on Rails
Ruby and Rails on Red Hat Linux 9 (Version #16)

To get Red Hat Linux on Rails, you need the following:
  • zlib-devel – RPM
  • Ruby 1.8.5
  • Ruby Gems

Installing Ruby


wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz
tar xvzf ruby-1.8.6.tar.gz
cd ruby-1.8.6
./configure --prefix=/usr
make
make test
su
make install

Installing RubyGems


cd
wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz
tar zxf rubygems-0.9.4.tgz
cd rubygems-0.9.4
ruby setup.rb

Installing Rails


gem update
gem install rails --include-dependencies 

Now you’re on Rails

.. But see MySQL 3 and Rails. Red Hat 9 came with MySQL 3.

To get Red Hat Linux on Rails, you need the following:
  • zlib-devel – RPM
  • Ruby 1.8.5
  • Ruby Gems

Installing Ruby


wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz
tar xvzf ruby-1.8.6.tar.gz
cd ruby-1.8.6
./configure --prefix=/usr
make
make test
su
make install

Installing RubyGems


cd
wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz
tar zxf rubygems-0.9.4.tgz
cd rubygems-0.9.4
ruby setup.rb

Installing Rails


gem update
gem install rails --include-dependencies 

Now you’re on Rails

.. But see MySQL 3 and Rails. Red Hat 9 came with MySQL 3.