diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2017-03-02 18:10:29 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2017-03-02 21:11:30 +0000 |
commit | bcbb8c718d88ebbe152aecff61bcc30ba394adaf (patch) | |
tree | 42c0a9880c096a34af49944ccef635c2315ac622 /railties/lib/rails/paths.rb | |
parent | 6a3235b78db3a878c342a9e2dc50f62157197e24 (diff) | |
download | rails-bcbb8c718d88ebbe152aecff61bcc30ba394adaf.tar.gz rails-bcbb8c718d88ebbe152aecff61bcc30ba394adaf.tar.bz2 rails-bcbb8c718d88ebbe152aecff61bcc30ba394adaf.zip |
Update `database.yml` when `rails new <new_app> -d oracle` specified
- Install "activerecord-oracle_enhanced-adapter".
Oracle adapter used to be a bundled one. Now it is a 3rd party one.
Also "ruby-oci8" is a required gem for CRuby, not for JRuby.
- Remove oracle entry for JRuby since Oracle enhanced adapter
supports both CRuby and JRuby with single gem.
- Change adapter name from `oracle` to `oracle_enhanced` in the oracle.yml.
Not changing `-d oracle`
- Update `DATABASE_URL` entry to use a dash instead of an underscore
Refer https://github.com/rails/rails/commit/d72a0cbc807a14d3eec02a53317d11b9d9fa5815
for the reason.
Diffstat (limited to 'railties/lib/rails/paths.rb')
0 files changed, 0 insertions, 0 deletions