diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2011-10-02 22:51:01 -0400 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2011-10-02 22:51:01 -0400 |
commit | b564ffcad4df58c8364bafb850774539b161b26a (patch) | |
tree | c86df8b45493dac87b3ace4fbafc904e2dd27cca | |
parent | d68884f4fddf5452f1dcbdf1a7b35d5889926fe5 (diff) | |
download | rails-b564ffcad4df58c8364bafb850774539b161b26a.tar.gz rails-b564ffcad4df58c8364bafb850774539b161b26a.tar.bz2 rails-b564ffcad4df58c8364bafb850774539b161b26a.zip |
To support ActiveRecord unit tests for IBM DB2
-rw-r--r-- | Gemfile | 3 | ||||
-rw-r--r-- | activerecord/test/config.example.yml | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -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" end end + +# A gem necessary for ActiveRecord tests with Oracle database +gem "ibm_db" if ENV['IBM_DB'] diff --git a/activerecord/test/config.example.yml b/activerecord/test/config.example.yml index 8c1a45430e..f450efd839 100644 --- a/activerecord/test/config.example.yml +++ b/activerecord/test/config.example.yml @@ -37,11 +37,13 @@ connections: db2: arunit: + adapter: ibm_db host: localhost username: arunit password: arunit database: arunit arunit2: + adapter: ibm_db host: localhost username: arunit password: arunit |