banister/pry-stack_explorer — Issue #15: undefined method 'add_hook' crash on startup
Author: aspiers
Created: 2012-01-06 00:11:34+00:00
State: open

When I add pry-stack_explorer to my `Gemfile`, WEBrick crashes on startup:

> /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/pry-stack_explorer-0.2.8pre5/lib/pry-stack_explorer.rb:65:in `': undefined method `add_hook' for # (NoMethodError)
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:68:in `require'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:66:in `each'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:66:in `block in require'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:55:in `each'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:55:in `require'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.rc.7/lib/bundler.rb:118:in `require'
>	from /data/music/RotC/eventbook/config/boot.rb:119:in `load_gems'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/rails-2.3.14/lib/initializer.rb:164:in `process'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/rails-2.3.14/lib/initializer.rb:113:in `run'
>	from /data/music/RotC/eventbook/config/environment.rb:13:in `'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `block in require'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:547:in `new_constants_in'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-2.3.14/lib/active_support/dependencies.rb:182:in `require'
>	from /home/adam/.rvm/gems/ruby-1.9.3-p0/gems/rails-2.3.14/lib/commands/server.rb:84:in `'
>	from ./script/server:3:in `require'
>	from ./script/server:3:in `

'

I'm using pry 0.9.7.4.