diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-01 12:21:18 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-01 12:21:18 -0600 |
commit | 61958032d3dbb8da8363d02ccda8933b99421fb1 (patch) | |
tree | dd52b4c4c42ce50f000457f721879abafe67b1c7 /railties/lib/tasks | |
parent | 725928854d4b6ff5dbafc2bbc95cfade243411a9 (diff) | |
download | rails-61958032d3dbb8da8363d02ccda8933b99421fb1.tar.gz rails-61958032d3dbb8da8363d02ccda8933b99421fb1.tar.bz2 rails-61958032d3dbb8da8363d02ccda8933b99421fb1.zip |
Generate rackup dispatcher with rails:update:generate_dispatchers
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r-- | railties/lib/tasks/framework.rake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/tasks/framework.rake b/railties/lib/tasks/framework.rake index df080e94ac..d639214ffe 100644 --- a/railties/lib/tasks/framework.rake +++ b/railties/lib/tasks/framework.rake @@ -128,6 +128,7 @@ namespace :rails do desc "Generate dispatcher files in RAILS_ROOT/public" task :generate_dispatchers do require 'railties_path' + FileUtils.cp(RAILTIES_PATH + '/dispatches/config.ru', RAILS_ROOT + '/config.ru') FileUtils.cp(RAILTIES_PATH + '/dispatches/dispatch.fcgi', RAILS_ROOT + '/public/dispatch.fcgi') FileUtils.cp(RAILTIES_PATH + '/dispatches/dispatch.rb', RAILS_ROOT + '/public/dispatch.rb') FileUtils.cp(RAILTIES_PATH + '/dispatches/dispatch.rb', RAILS_ROOT + '/public/dispatch.cgi') |