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:
parent
647b83d50c
commit
d9afc51391
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ use Rack::Lock
|
||||||
use ActionController::Failsafe
|
use ActionController::Failsafe
|
||||||
use ActionController::Session::CookieStore, , {:secret=>"<secret>", :session_key=>"_<app>_session"}
|
use ActionController::Session::CookieStore, , {:secret=>"<secret>", :session_key=>"_<app>_session"}
|
||||||
use Rails::Rack::Metal
|
use Rails::Rack::Metal
|
||||||
use ActionController::RewindableInput
|
use ActionDispatch::RewindableInput
|
||||||
use ActionController::ParamsParser
|
use ActionController::ParamsParser
|
||||||
use Rack::MethodOverride
|
use Rack::MethodOverride
|
||||||
use Rack::Head
|
use Rack::Head
|
||||||
|
|
|
@ -568,7 +568,7 @@ Run `rake gems:install` to install the missing gems.
|
||||||
Rails::Rack::Metal.metal_paths += plugin_loader.engine_metal_paths
|
Rails::Rack::Metal.metal_paths += plugin_loader.engine_metal_paths
|
||||||
|
|
||||||
configuration.middleware.insert_before(
|
configuration.middleware.insert_before(
|
||||||
:"ActionController::RewindableInput",
|
:"ActionDispatch::RewindableInput",
|
||||||
Rails::Rack::Metal, :if => Rails::Rack::Metal.metals.any?)
|
Rails::Rack::Metal, :if => Rails::Rack::Metal.metals.any?)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue