Master ruby with us

Configuration for Oracle with Ruby On Rails on Windows

Posted by firstruby on June 26, 2009

To configure the Oracle with Ruby on Rails (RoR) applications, we need to do following setting,

Download Oracle 10g from (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


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: