diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-16 15:57:14 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-19 16:10:42 +0200 |
commit | 720aceeea9083e8139e06be5aaaa3b9db98f344d (patch) | |
tree | 4b44f95f49acd087decf68d4e5a22cfab607356f /railties/lib/generator/templates/app/config/databases/ibm_db.yml | |
parent | ced68c7430216424419ecb4525d3bc6b6847f9c6 (diff) | |
download | rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.tar.gz rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.tar.bz2 rails-720aceeea9083e8139e06be5aaaa3b9db98f344d.zip |
Send new files too.
Diffstat (limited to 'railties/lib/generator/templates/app/config/databases/ibm_db.yml')
-rw-r--r-- | railties/lib/generator/templates/app/config/databases/ibm_db.yml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/railties/lib/generator/templates/app/config/databases/ibm_db.yml b/railties/lib/generator/templates/app/config/databases/ibm_db.yml new file mode 100644 index 0000000000..a9716ddb44 --- /dev/null +++ b/railties/lib/generator/templates/app/config/databases/ibm_db.yml @@ -0,0 +1,62 @@ +# IBM Dataservers +# +# Home Page +# http://rubyforge.org/projects/rubyibm/ +# +# To install the ibm_db gem: +# On Linux: +# Source the db2profile file and set the necessary environment variables: +# +# . /home/db2inst1/sqllib/db2profile +# export IBM_DB_DIR=/opt/ibm/db2/V9.1 +# export IBM_DB_LIB=/opt/ibm/db2/V9.1/lib32 +# +# Then issue the command: gem install ibm_db +# +# On Windows: +# Issue the command: gem install ibm_db +# If prompted, select the mswin32 option +# +# For more details on the installation refer to http://rubyforge.org/docman/view.php/2361/7682/IBM_DB_GEM.pdf +# +# For more details on the connection parameters below refer to: +# http://rubyibm.rubyforge.org/docs/adapter/0.9.0/rdoc/classes/ActiveRecord/ConnectionAdapters/IBM_DBAdapter.html + +development: + adapter: ibm_db + username: db2inst1 + password: + database: <%= app_name[0,4] %>_dev + #schema: db2inst1 + #host: localhost + #port: 50000 + #account: my_account + #app_user: my_app_user + #application: my_application + #workstation: my_workstation + +test: + adapter: ibm_db + username: db2inst1 + password: + database: <%= app_name[0,4] %>_tst + #schema: db2inst1 + #host: localhost + #port: 50000 + #account: my_account + #app_user: my_app_user + #application: my_application + #workstation: my_workstation + +production: + adapter: ibm_db + username: db2inst1 + password: + database: <%= app_name[0,4] %>_prd + #schema: db2inst1 + #host: localhost + #port: 50000 + #account: my_account + #app_user: my_app_user + #application: my_application + #workstation: my_workstation
\ No newline at end of file |