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:
parent
47007c75af
commit
f8f22dac8e
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue