added dependencies in Gemfile for running ActiveRecord tests with Oracle database
Showing
... | @@ -49,3 +49,15 @@ platforms :jruby do | ... | @@ -49,3 +49,15 @@ platforms :jruby do |
gem "activerecord-jdbcpostgresql-adapter" | gem "activerecord-jdbcpostgresql-adapter" | ||
end | end | ||
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 |
想要评论请 注册 或 登录