Friday, April 8, 2011

Setting up Oracle XE locally for your Rails app

I recently pushed 'database_initializer.rb' to github @ Please check its README for more information.

This can be used to set up your schema and other database objects in your local Oracle XE database. The script assumes that you have following set up on your machine :-

1. Oracle client
2. activerecord-oracle_enhanced-adapter gem
3. Oracle XE (


  1. Thanks for posting this. I liked the idea and its very useful to set the schema and other db objects in local database for further use. I will check the set up before running the script.
    sap support pack installation guide