1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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>
This commit is contained in:
Christopher Currie 2008-10-25 21:39:49 -07:00 committed by David Heinemeier Hansson
parent 47007c75af
commit f8f22dac8e

View file

@ -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"