Permalink
Browse files

Update non-gems distributions to use sqlite3 as the default, matching…

… the "rails" command default [#1270 status:committed]

Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
  • Loading branch information...
1 parent 47007c7 commit f8f22dac8e08656f1798d6bf2aa8accc534b077d Christopher Currie committed with dhh Oct 26, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/Rakefile
View
@@ -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"

0 comments on commit f8f22da

Please sign in to comment.