Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Rails::Rack::Debugger is killing _all_ rails generators

#5057

Reproduce:

  Gemfile:
    gem 'ruby-debug'

  development.rb:
    ...
    config.middleware.use Rails::Rack::Debugger
    ...

Try running any generators(rails g controller zippo) and it will only show the usage, but not generate anything.

I'm pretty confident it's caused by http://github.com/rails/rails/blob/master/railties/lib/rails/rack/d...

Reported by Peter Haza · July 6th, 2010 @ 11:58 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. José Valim
    José Valim
    • State changed from new to invalid
    • Importance changed from to Low

    Rails::Rack::Debugger is added automatically by Rails when you specify --debugger as option to rails s. You are not supposed to add it to your own middleware stack. Be aware that it is not part of Rails public API.

    July 7th, 2010 @ 10:16 AM