From 0ceb9150d5daa3afed4fcf7afa29216a8f7132a1 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 7 Nov 2005 18:03:30 +0000 Subject: Dont generate config/lighttpd.conf, will be done on first run of script/server git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2923 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/Rakefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'railties') 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" -- cgit v1.2.3