pry/pry — Issue #439: Pry::ExtendCommandBundle (NameError) with Rails 3.2.0
Author: mmaa
Created: 2012-01-20 20:50:57+00:00
State: open

I've been using Pry as an IRB replacement with the following:

```
# config/environments/development.rb

MyApp::Application.configure do

...

silence_warnings do
require 'pry'
IRB = Pry
end
end
```
After upgrading to Rails 3.2.0, I get the following when starting the Rails console:

```
Pry::ExtendCommandBundle (NameError)
from .../1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.2.0/lib/rails/commands/console.rb:46:in `start'
from .../1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.2.0/lib/rails/commands/console.rb:8:in `start'
from .../1.9.2-p290/lib/ruby/gems/1.9.1/gems/railties-3.2.0/lib/rails/commands.rb:41:in `'
from script/rails:6:in `require'
from script/rails:6:in `

'
```
However, inserting a `binding.pry` statement into a spec works just fine. Any ideas?