To configure the Oracle with Ruby on Rails (RoR) applications, we need to do following setting,
Download Oracle 10g from
http://download.oracle.com/otn/nt/oracle10g/xe/10201/OracleXEUniv.exe
(to download Oracle setup, you need to create an account)
Install following gems,
gem install activerecord-oracle_enhanced-adapter
gem install ruby-oci8
Then modify the /config/database.yml as following for the current environment,
adapter: oracle_enhanced
host: localhost
username: db_user_name
password: db_password
encoding: utf8