diff options
-rw-r--r-- | railties/Rakefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index ec31e6fdd0..7fd35639ce 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -158,12 +158,11 @@ 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/database.yml")).result(binding)} + File.open("#{PKG_DESTINATION}/config/database.yml", 'w') {|f| f.write ERB.new(IO.read("configs/database.yml"), nil, '-').result(binding)} cp "configs/routes.rb", "#{PKG_DESTINATION}/config/routes.rb" cp "configs/apache.conf", "#{PKG_DESTINATION}/public/.htaccess" - cp "configs/lighttpd.conf", "#{PKG_DESTINATION}/config/lighttpd.conf" cp "environments/boot.rb", "#{PKG_DESTINATION}/config/boot.rb" cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb" |