Skip to content

Instantly share code, notes, and snippets.

@Sgeo
Created August 19, 2011 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sgeo/1156462 to your computer and use it in GitHub Desktop.
Save Sgeo/1156462 to your computer and use it in GitHub Desktop.
Pry crash
pry(main)> Object.methods
C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/helpers/base_h
elpers.rb:92:in `block in simple_pager': undefined local variable or method `out
put' for Pry::Helpers::BaseHelpers:Module (NameError)
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/h
elpers/base_helpers.rb:91:in `each'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/h
elpers/base_helpers.rb:91:in `each_slice'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/h
elpers/base_helpers.rb:91:in `simple_pager'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/h
elpers/base_helpers.rb:117:in `rescue in stagger_output'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/h
elpers/base_helpers.rb:105:in `stagger_output'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry.r
b:24:in `block in <class:Pry>'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/p
ry_instance.rb:271:in `call'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/p
ry_instance.rb:271:in `show_result'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/p
ry_instance.rb:195:in `rep'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/p
ry_instance.rb:178:in `block (2 levels) in repl'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/p
ry_instance.rb:177:in `loop'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/p
ry_instance.rb:177:in `block in repl'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/p
ry_instance.rb:175:in `catch'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/p
ry_instance.rb:175:in `repl'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/p
ry_class.rb:113:in `start'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/lib/pry/c
ore_extensions.rb:20:in `pry'
from C:/Ruby192/lib/ruby/gems/1.9.1/gems/pry-0.9.3-x86-mingw32/bin/pry:8
9:in `<top (required)>'
from C:/Ruby192/bin/pry:19:in `load'
from C:/Ruby192/bin/pry:19:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment