diff options
author | José Valim <jose.valim@gmail.com> | 2011-10-15 01:56:30 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-10-15 01:56:30 -0700 |
commit | 098c95abcb2b101bde0d55ddd5e348fda0ec8f49 (patch) | |
tree | bccdcf456c37c71a82741e88b2e56624875469bc /railties | |
parent | e759c8882a990606bb4aee8a643431ebe544c69f (diff) | |
parent | d32a90b9b77d3f7d8098ee6ddb5bf62cb8da0ed7 (diff) | |
download | rails-098c95abcb2b101bde0d55ddd5e348fda0ec8f49.tar.gz rails-098c95abcb2b101bde0d55ddd5e348fda0ec8f49.tar.bz2 rails-098c95abcb2b101bde0d55ddd5e348fda0ec8f49.zip |
Merge pull request #3320 from sunaku/space-align
fix inconsistent alignment in Gemfile generator
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 294563ad06..134d86fab0 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -150,7 +150,7 @@ module Rails gem 'rails', '#{Rails::VERSION::STRING}' # Bundle edge Rails instead: - # gem 'rails', :git => 'git://github.com/rails/rails.git' + # gem 'rails', :git => 'git://github.com/rails/rails.git' GEMFILE end end @@ -158,11 +158,11 @@ module Rails def gem_for_database # %w( mysql oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql ) case options[:database] - when "oracle" then "ruby-oci8" - when "postgresql" then "pg" - when "frontbase" then "ruby-frontbase" - when "mysql" then "mysql2" - when "sqlserver" then "activerecord-sqlserver-adapter" + when "oracle" then "ruby-oci8" + when "postgresql" then "pg" + when "frontbase" then "ruby-frontbase" + when "mysql" then "mysql2" + when "sqlserver" then "activerecord-sqlserver-adapter" when "jdbcmysql" then "activerecord-jdbcmysql-adapter" when "jdbcsqlite3" then "activerecord-jdbcsqlite3-adapter" when "jdbcpostgresql" then "activerecord-jdbcpostgresql-adapter" |