Feed on Posts or Comments

Computers & BSD/Linux & Development SquallBSR on 02 Jun 2007 10:31 pm

CentOS 5 Linux and Ruby on Rails

I have been working lately on getting Rails 1.2 running for some development that is going on with Hidesato Systems. So, here are the things that were required for me to get Rails running with an already installed version of PostgreSQL.

sudo yum groupinstall “Development Tools”
sudo yum install postgresql-devel
sudo yum install ruby
sudo yum install ruby-devel
sudo yum install rdoc
wget http://rubyforge.org/frs/download.php/20989/rubygems-0.9.4.tgz
tar xfvz rubygems-0.9.4.tgz
cd rubygems-0.9.4
sudo ruby setup.rb
sudo gem install rails –include-dependencies
sudo gem install mongrel –include-dependencies
sudo gem install ruby-postgres

These quick instructions should give you a rails environment that can connect to a postgresql database.

Trackback This Post | Subscribe to the comments through RSS Feed

Leave a Reply