My first time trying to upgrade rails from 4.2 to 5.2 and am having an issue configuring the middleware. To debug it I ran rake middleware
and this was the result. I'm not using ActionDispatch::DebugExceptions
middleware anywhere, so I'm assuming it was turned on by default? I was hoping to use the output from rake middleware
to see the defaults that need to be turned off.
** Invoke middleware (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
No such middleware to insert after: "ActionDispatch::DebugExceptions"
/usr/local/bundle/gems/actionpack-5.2.1/lib/action_dispatch/middleware/stack.rb:108:in `assert_index'
Please update gem "airbrake" and hope this issue will resolve because this worked for me.