1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Rails server boots again

This commit is contained in:
Carl Lerche & Yehuda Katz 2009-04-13 17:16:07 -07:00
parent 647b83d50c
commit d9afc51391
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ use Rack::Lock
use ActionController::Failsafe
use ActionController::Session::CookieStore, , {:secret=>"<secret>", :session_key=>"_<app>_session"}
use Rails::Rack::Metal
use ActionController::RewindableInput
use ActionDispatch::RewindableInput
use ActionController::ParamsParser
use Rack::MethodOverride
use Rack::Head

View file

@ -568,7 +568,7 @@ Run `rake gems:install` to install the missing gems.
Rails::Rack::Metal.metal_paths += plugin_loader.engine_metal_paths
configuration.middleware.insert_before(
:"ActionController::RewindableInput",
:"ActionDispatch::RewindableInput",
Rails::Rack::Metal, :if => Rails::Rack::Metal.metals.any?)
end