This project is archived and is in readonly mode.

#5057 ✓invalid
Peter Haza

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

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

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...

Comments and changes to this ticket

  • José Valim

    José Valim July 7th, 2010 @ 10:16 AM

    • 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.

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>

Pages