mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
To support ActiveRecord unit tests for IBM DB2
This commit is contained in:
parent
d68884f4fd
commit
b564ffcad4
2 changed files with 5 additions and 0 deletions
3
Gemfile
3
Gemfile
|
@ -99,3 +99,6 @@ if ENV['ORACLE_ENHANCED_PATH'] || ENV['ORACLE_ENHANCED']
|
||||||
gem "activerecord-oracle_enhanced-adapter", :git => "git://github.com/rsim/oracle-enhanced.git"
|
gem "activerecord-oracle_enhanced-adapter", :git => "git://github.com/rsim/oracle-enhanced.git"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# A gem necessary for ActiveRecord tests with Oracle database
|
||||||
|
gem "ibm_db" if ENV['IBM_DB']
|
||||||
|
|
|
@ -37,11 +37,13 @@ connections:
|
||||||
|
|
||||||
db2:
|
db2:
|
||||||
arunit:
|
arunit:
|
||||||
|
adapter: ibm_db
|
||||||
host: localhost
|
host: localhost
|
||||||
username: arunit
|
username: arunit
|
||||||
password: arunit
|
password: arunit
|
||||||
database: arunit
|
database: arunit
|
||||||
arunit2:
|
arunit2:
|
||||||
|
adapter: ibm_db
|
||||||
host: localhost
|
host: localhost
|
||||||
username: arunit
|
username: arunit
|
||||||
password: arunit
|
password: arunit
|
||||||
|
|
Loading…
Reference in a new issue