aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-11-07 18:03:30 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-11-07 18:03:30 +0000
commit0ceb9150d5daa3afed4fcf7afa29216a8f7132a1 (patch)
treeb2c73199fcb6344bbf747f756d2636d34ad4270d /railties
parent850b9c75064037621587b88724ca75df87f684a8 (diff)
downloadrails-0ceb9150d5daa3afed4fcf7afa29216a8f7132a1.tar.gz
rails-0ceb9150d5daa3afed4fcf7afa29216a8f7132a1.tar.bz2
rails-0ceb9150d5daa3afed4fcf7afa29216a8f7132a1.zip
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
Diffstat (limited to 'railties')
-rw-r--r--railties/Rakefile3
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"