Permalink
Browse files

updated app:bootstrap rake task so generated database.yml file uses m…

…ysql2 adapter instead of mysql
  • Loading branch information...
1 parent 3a77a6a commit a3f0ed028ece5e60cc80f91bdd6df95a066a5348 Christian Schulze committed with Jul 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tasks/app_bootstrap.rake
@@ -24,7 +24,7 @@ namespace :app do
unless !@restart && File.exist?(db_config)
if @restart || agree("Would you like to create a database.yml file? [y/n]")
- options = OpenStruct.new :host => 'localhost', :username => 'root', :adapter => 'mysql',
+ options = OpenStruct.new :host => 'localhost', :username => 'root', :adapter => 'mysql2',
:keys => [:adapter, :host, :database, :username, :password, :socket], :pattern => /_(dev.*|prod.*|test)$/
class << options
def get_binding() binding end

0 comments on commit a3f0ed0

Please sign in to comment.