Skip to content
Browse files

mysql db defaults to mysql2 gem

  • Loading branch information...
1 parent 04aa14f commit 822fa17c6c0f159eeff01c8fb251e13666f50357 @dhh dhh committed Aug 23, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/generators/rails/app/app_generator.rb
1 railties/lib/rails/generators/rails/app/app_generator.rb
@@ -394,6 +394,7 @@ def gem_for_database
when "postgresql" then "pg"
when "sqlite3" then "sqlite3-ruby"
when "frontbase" then "ruby-frontbase"
+ when "mysql" then "mysql2"
else options[:database]

0 comments on commit 822fa17

Please sign in to comment.
Something went wrong with that request. Please try again.