From 4e3d220da3938c63df4ff44215a8eb1a93335294 Mon Sep 17 00:00:00 2001 From: Raimonds Simanovskis Date: Tue, 17 Aug 2010 04:58:17 +0800 Subject: added dependencies in Gemfile for running ActiveRecord tests with Oracle database --- Gemfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index b0905d98be..714437d917 100644 --- a/Gemfile +++ b/Gemfile @@ -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 -- cgit v1.2.3