Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:2592418
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Using it like following, it doesn't work.
config.middleware.use RackAfterReply do |env|
env['rack_after_reply.callbacks'] << lambda { }
And running the rake:
rake middleware -t
/Users/millisami/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require': iconv will be deprecated in the future, use String#encode instead.
** Invoke middleware (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `new' for RackAfterReply:Module
/Users/millisami/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/stack.rb:43:in `build'
/Users/millisami/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.1.3/lib/action_dispatch/middleware/stack.rb:112:in `block in build'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.