Updated this post from Ubuntu Jaunty to Lucid.
Unless you have been living on one of the planets orbiting alpha centauri (or if you have nothing to do with computers, in which case you would not be reading this post), you must have heard of ruby on rails.
Below are the steps i went through to get ruby and rails installed and configured on a Ubuntu Jaunty (10.04) system.
Make sure that you have installed Oracle 11g or the Oracle 11g instant client on the Ubuntu server, before you start.
Get the ruby packages for ubuntu
sudo apt-get install ruby ruby-dev libopenssl-ruby1.8 irb ri rdoc
sudo apt-get install sqlite3
sudo apt-get install libsqlite3-ruby libsqlite3-dev
Download, Install setup Gems
sudo ln -s /usr/bin/gem1.8 /usr/local/bin/gem
Install Rails 2
sudo gem install rails
Download and install the ruby interface for oracle
Download ruby-oci8 from http://rubyforge.org/frs/?group_id=256
http://rubyforge.org/frs/download.php/69454/ruby-oci8-2.0.4.tar.gz
tar -xzvf ruby-oci8-2.0.4.tar.gz
cd ruby-oci8-2.0.4/
make
sudo make install
Get the Enhanced ActiveRecord adapter for oracle
wget http://rubyforge.org/frs/download.php/64456/activerecord-oracle_enhanced-adapter-1.2.2.gem
sudo gem install activerecord-oracle_enhanced-adapter-1.2.2.gem
You are all set to write and test your first ruby program using the rails framework .
Please see my followup post on writing a simple rails program with 11g