fix inconsistent alignment in Gemfile generator

This commit is contained in:
Suraj N. Kurapati 2011-10-13 10:16:50 -07:00
parent 74fbbf1ea0
commit d32a90b9b7
1 changed files with 6 additions and 6 deletions

View File

@ -150,7 +150,7 @@ module Rails
gem 'rails', '#{Rails::VERSION::STRING}' gem 'rails', '#{Rails::VERSION::STRING}'
# Bundle edge Rails instead: # Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git' # gem 'rails', :git => 'git://github.com/rails/rails.git'
GEMFILE GEMFILE
end end
end end
@ -158,11 +158,11 @@ module Rails
def gem_for_database def gem_for_database
# %w( mysql oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql ) # %w( mysql oracle postgresql sqlite3 frontbase ibm_db sqlserver jdbcmysql jdbcsqlite3 jdbcpostgresql )
case options[:database] case options[:database]
when "oracle" then "ruby-oci8" when "oracle" then "ruby-oci8"
when "postgresql" then "pg" when "postgresql" then "pg"
when "frontbase" then "ruby-frontbase" when "frontbase" then "ruby-frontbase"
when "mysql" then "mysql2" when "mysql" then "mysql2"
when "sqlserver" then "activerecord-sqlserver-adapter" when "sqlserver" then "activerecord-sqlserver-adapter"
when "jdbcmysql" then "activerecord-jdbcmysql-adapter" when "jdbcmysql" then "activerecord-jdbcmysql-adapter"
when "jdbcsqlite3" then "activerecord-jdbcsqlite3-adapter" when "jdbcsqlite3" then "activerecord-jdbcsqlite3-adapter"
when "jdbcpostgresql" then "activerecord-jdbcpostgresql-adapter" when "jdbcpostgresql" then "activerecord-jdbcpostgresql-adapter"