mirror of https://github.com/rails/rails
Merge pull request #3320 from sunaku/space-align
fix inconsistent alignment in Gemfile generator
This commit is contained in:
commit
098c95abcb
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue