Skip to content

Instantly share code, notes, and snippets.

@ohnishiakira
Last active August 29, 2015 14:08
Show Gist options
  • Save ohnishiakira/8571dc042e8b8d47fca7 to your computer and use it in GitHub Desktop.
Save ohnishiakira/8571dc042e8b8d47fca7 to your computer and use it in GitHub Desktop.
$ \pry --no-plugins
[1] pry(main)> RUBY_VERSION
"2.1.2"
[2] pry(main)> Pry::VERSION
"0.10.1"
[3] pry(main)> def class; end
:class
[4] pry(main)> class Hoge; end
/Users/akira/.rvm/gems/ruby-2.1.2/gems/coderay-1.1.0/lib/coderay/scanner.rb:150:in `initialize': undefined method `normalize' for nil:NilClass (NoMethodError)
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/coderay-1.1.0/lib/coderay.rb:269:in `new'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/coderay-1.1.0/lib/coderay.rb:269:in `scanner'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/coderay-1.1.0/lib/coderay/tokens_proxy.rb:44:in `scanner'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/coderay-1.1.0/lib/coderay/tokens_proxy.rb:39:in `tokens'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/indent.rb:273:in `tokenize'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/indent.rb:150:in `block in indent'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/indent.rb:143:in `each'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/indent.rb:143:in `indent'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/repl.rb:105:in `read'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/repl.rb:68:in `block in repl'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/repl.rb:67:in `loop'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/repl.rb:67:in `repl'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/repl.rb:38:in `block in start'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/input_lock.rb:61:in `call'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/input_lock.rb:61:in `__with_ownership'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/input_lock.rb:79:in `with_ownership'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/repl.rb:38:in `start'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/repl.rb:15:in `start'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/pry_class.rb:169:in `start'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/cli.rb:219:in `block in <top (required)>'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/cli.rb:83:in `call'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/cli.rb:83:in `block in parse_options'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/cli.rb:83:in `each'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/lib/pry/cli.rb:83:in `parse_options'
from /Users/akira/.rvm/gems/ruby-2.1.2/gems/pry-0.10.1/bin/pry:16:in `<top (required)>'
from /Users/akira/.rvm/gems/ruby-2.1.2/bin/pry:23:in `load'
from /Users/akira/.rvm/gems/ruby-2.1.2/bin/pry:23:in `<main>'
from /Users/akira/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
from /Users/akira/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment