This project is archived and is in readonly mode.

#4492 ✓resolved
Lawrence Pit

rake middleware not working in rails3 beta 3

Reported by Lawrence Pit | April 28th, 2010 @ 12:19 AM | in 3.0.2

I'm on rails 3 beta 3, and defined to use a middleware in environment.rb:

    MyApp::Application.configure do
       config.middleware.use '::ExceptionNotifier'
    end

    # Initialize the rails application
    MyApp::Application.initialize!

The middleware works fine. However, when I run rake middleware to see where it's sitting at, it is not mentioned in the list of middlewares. I also tried defining it within config.ru, no difference.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Tags

Referenced by

Pages