aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Gemfile b/Gemfile
index d594d20fac..714437d917 100644
--- a/Gemfile
+++ b/Gemfile
@@ -50,11 +50,14 @@ platforms :jruby do
end
end
-env 'CI' do
- gem "nokogiri", ">= 1.4.3.1"
-
- platforms :ruby_18 do
- # fcgi gem doesn't compile on 1.9
- gem "fcgi", ">= 0.8.8"
+# 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