diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-11-07 10:25:36 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-11-07 10:25:36 +0000 |
commit | 5ca8b5fca42ca09bdaadfc7c985fbec9c2fbafa5 (patch) | |
tree | 11a05e7ef113a42c1c6f7117399332d0ae389e44 /railties/lib/rails_generator | |
parent | 72add11c441c51de79a179438cb308d96aeaac76 (diff) | |
download | rails-5ca8b5fca42ca09bdaadfc7c985fbec9c2fbafa5.tar.gz rails-5ca8b5fca42ca09bdaadfc7c985fbec9c2fbafa5.tar.bz2 rails-5ca8b5fca42ca09bdaadfc7c985fbec9c2fbafa5.zip |
Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator')
-rw-r--r-- | railties/lib/rails_generator/generators/applications/app/app_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 1babf46343..9292f227dc 100644 --- a/railties/lib/rails_generator/generators/applications/app/app_generator.rb +++ b/railties/lib/rails_generator/generators/applications/app/app_generator.rb @@ -49,7 +49,7 @@ class AppGenerator < Rails::Generator::Base m.file "environments/test.rb", "config/environments/test.rb" # Scripts - %w( about breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner process/spinner runner server lighttpd plugin ).each do |file| + %w( about breakpointer console destroy generate performance/benchmarker performance/profiler process/reaper process/spawner process/spinner runner server plugin ).each do |file| m.file "bin/#{file}", "script/#{file}", script_options end |