mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
fix inconsistent alignment in Gemfile generator
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user