Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such middleware to insert after: Rack::Lock #9

Open
gnodiah opened this issue Mar 4, 2016 · 0 comments
Open

No such middleware to insert after: Rack::Lock #9

gnodiah opened this issue Mar 4, 2016 · 0 comments

Comments

@gnodiah
Copy link

gnodiah commented Mar 4, 2016

In Rails 4 production mode, there is an error :

vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.5/lib/action_dispatch/middleware/stack.rb:125:in `assert_index': No such middleware to insert after: Rack::Lock (RuntimeError)

it seems that In Rails4, threading is enabled by default which removes Rack::Lock.

do u know how to fix it properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant