diff options
author | Raimonds Simanovskis <raimonds.simanovskis@gmail.com> | 2010-08-17 04:58:17 +0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-16 15:21:54 -0700 |
commit | 4e3d220da3938c63df4ff44215a8eb1a93335294 (patch) | |
tree | 7239b2f1e45852a7ffc873fcac7ba2e28a473c1e /Gemfile | |
parent | 8010e4f4765905b2c82bf5963268f07c0721daef (diff) | |
download | rails-4e3d220da3938c63df4ff44215a8eb1a93335294.tar.gz rails-4e3d220da3938c63df4ff44215a8eb1a93335294.tar.bz2 rails-4e3d220da3938c63df4ff44215a8eb1a93335294.zip |
added dependencies in Gemfile for running ActiveRecord tests with Oracle database
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -49,3 +49,15 @@ platforms :jruby do gem "activerecord-jdbcpostgresql-adapter" end end + +# gems that are necessary for ActiveRecord tests with Oracle database +if ENV['ORACLE_ENHANCED_PATH'] || ENV['ORACLE_ENHANCED'] + platforms :ruby do + gem 'ruby-oci8', ">= 2.0.4" + end + if ENV['ORACLE_ENHANCED_PATH'] + gem 'activerecord-oracle_enhanced-adapter', :path => ENV['ORACLE_ENHANCED_PATH'] + else + gem "activerecord-oracle_enhanced-adapter", :git => "git://github.com/rsim/oracle-enhanced.git" + end +end |