Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed config.ru template from app generator

  • Loading branch information...
commit bd7edcf286421b090b8de5674422a7316ed043a9 1 parent 977317d
@josh josh authored
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
Collaborator

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.
Something went wrong with that request. Please try again.