Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

When copying the config files, also transform and copy the default de…

…ploy.rb script

git-svn-id: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 7f32e83f255bdb07e1385cf083888514d88641af 1 parent 6050dfc
@jamis jamis authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 railties/Rakefile
7 railties/Rakefile
@@ -154,6 +154,13 @@ task :copy_configs do
cp "configs/database.yml", "#{PKG_DESTINATION}/config/database.yml"
cp "configs/routes.rb", "#{PKG_DESTINATION}/config/routes.rb"
+ require 'erb'
+"#{PKG_DESTINATION}/config/deploy.rb", "w") do |file|
+ template ="configs/deploy.rb")
+ destination_root = PKG_DESTINATION
+ file.write
+ end
cp "configs/apache.conf", "#{PKG_DESTINATION}/public/.htaccess"
cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb"
Please sign in to comment.
Something went wrong with that request. Please try again.