Skip to content

Commit

Permalink
Update non-gems distributions to use sqlite3 as the default, matching…
Browse files Browse the repository at this point in the history
… the "rails" command default [#1270 status:committed]

Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
  • Loading branch information
Christopher Currie authored and dhh committed Oct 30, 2008
1 parent 47007c7 commit f8f22da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/Rakefile
Expand Up @@ -192,7 +192,7 @@ task :copy_configs do
app_name = "rails"
socket = nil
require 'erb'
File.open("#{PKG_DESTINATION}/config/database.yml", 'w') {|f| f.write ERB.new(IO.read("configs/databases/mysql.yml"), nil, '-').result(binding)}
File.open("#{PKG_DESTINATION}/config/database.yml", 'w') {|f| f.write ERB.new(IO.read("configs/databases/sqlite3.yml"), nil, '-').result(binding)}

cp "configs/routes.rb", "#{PKG_DESTINATION}/config/routes.rb"

Expand Down

0 comments on commit f8f22da

Please sign in to comment.