Browse files

Removed config.ru template from app generator

  • Loading branch information...
1 parent 977317d commit bd7edcf286421b090b8de5674422a7316ed043a9 @josh josh committed Aug 19, 2008
Showing with 0 additions and 1 deletion.
  1. +0 −1 railties/lib/rails_generator/generators/applications/app/app_generator.rb
View
1 railties/lib/rails_generator/generators/applications/app/app_generator.rb
@@ -46,7 +46,6 @@ def manifest
# Root
m.file "fresh_rakefile", "Rakefile"
m.file "README", "README"
- m.file "config.ru", "config.ru"
# Application
m.template "helpers/application.rb", "app/controllers/application.rb", :assigns => { :app_name => @app_name, :app_secret => md5.hexdigest }

2 comments on commit bd7edcf

@nicksieger

What’s the thinking with this one? Will config.ru come back?

@josh
Ruby on Rails member

Currently there are no hard ties the rackup config file. Rack support is still a bit funky and I’d rather no give the impression its “production” ready :)

When we do make the leap over to Rack and convert server/server into a “rackup” command, I’ll possibly restore it. I think we could check to see if “RAILS_ROOT/config.ru” exists and script/server would use that, otherwise it would default to some inner config.

Please sign in to comment.