From d75481c5808085935e94fcbf6460c7685ef26396 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 24 Jul 2005 07:57:10 +0000 Subject: Added convenience controls for FCGI processes (especially when managed remotely): spinner, spawner, and reaper. They reside in script/process. More details can be had by calling them with -h/--help git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- .../rails_generator/generators/applications/app/app_generator.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'railties/lib') diff --git a/railties/lib/rails_generator/generators/applications/app/app_generator.rb b/railties/lib/rails_generator/generators/applications/app/app_generator.rb index f83b518875..7750d563d3 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -42,8 +42,8 @@ class AppGenerator < Rails::Generator::Base m.file "environments/development.rb", "config/environments/development.rb" m.file "environments/test.rb", "config/environments/test.rb" - # Scripts (tracker listener) - %w(console destroy generate server runner benchmarker profiler ).each do |file| + # Scripts + %w(console destroy generate server runner benchmarker profiler process/reaper process/spinner process/spawner ).each do |file| m.file "bin/#{file}", "script/#{file}", script_options end if options[:gem] @@ -56,7 +56,6 @@ class AppGenerator < Rails::Generator::Base m.file "dispatches/dispatch.rb", "public/dispatch.rb", script_options m.file "dispatches/dispatch.rb", "public/dispatch.cgi", script_options m.file "dispatches/dispatch.fcgi", "public/dispatch.fcgi", script_options - # m.file "dispatches/gateway.cgi", "public/gateway.cgi", script_options # HTML files %w(404 500 index).each do |file| @@ -116,6 +115,7 @@ class AppGenerator < Rails::Generator::Base public/javascripts public/stylesheets script + script/process test/fixtures test/functional test/mocks/development -- cgit v1.2.3