aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/app_base.rb
diff options
context:
space:
mode:
authorSuraj N. Kurapati <sunaku@gmail.com>2011-10-13 10:16:50 -0700
committerSuraj N. Kurapati <sunaku@gmail.com>2011-10-13 15:36:50 -0700
commitd32a90b9b77d3f7d8098ee6ddb5bf62cb8da0ed7 (patch)
treeae7f422014135d67947078b7619a8b77f039cb8d /railties/lib/rails/generators/app_base.rb
parent74fbbf1ea0018042e8709b8ad13c44718da3fdc1 (diff)
downloadrails-d32a90b9b77d3f7d8098ee6ddb5bf62cb8da0ed7.tar.gz
rails-d32a90b9b77d3f7d8098ee6ddb5bf62cb8da0ed7.tar.bz2
rails-d32a90b9b77d3f7d8098ee6ddb5bf62cb8da0ed7.zip
fix inconsistent alignment in Gemfile generator
Diffstat (limited to 'railties/lib/rails/generators/app_base.rb')
-rw-r--r--railties/lib/rails/generators/app_base.rb12
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"