public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/josh/rails.git
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
dhh (author)
Mon Nov 07 10:03:30 -0800 2005
commit  0ceb9150d5daa3afed4fcf7afa29216a8f7132a1
tree    b2c73199fcb6344bbf747f756d2636d34ad4270d
parent  850b9c75064037621587b88724ca75df87f684a8
...
158
159
160
161
 
162
163
164
165
166
167
168
169
...
158
159
160
 
161
162
163
164
165
 
166
167
168
0
@@ -158,12 +158,11 @@ task :copy_configs do
0
   app_name = "rails"
0
   socket = nil
0
   require 'erb'
0
- File.open("#{PKG_DESTINATION}/config/database.yml", 'w') {|f| f.write ERB.new(IO.read("configs/database.yml")).result(binding)}
0
+ File.open("#{PKG_DESTINATION}/config/database.yml", 'w') {|f| f.write ERB.new(IO.read("configs/database.yml"), nil, '-').result(binding)}
0
   
0
   cp "configs/routes.rb", "#{PKG_DESTINATION}/config/routes.rb"
0
 
0
   cp "configs/apache.conf", "#{PKG_DESTINATION}/public/.htaccess"
0
- cp "configs/lighttpd.conf", "#{PKG_DESTINATION}/config/lighttpd.conf"
0
 
0
   cp "environments/boot.rb", "#{PKG_DESTINATION}/config/boot.rb"
0
   cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb"

Comments

    No one has commented yet.