From: Run Paint Run Run Date: 2010-02-28T07:57:06+09:00 Subject: [ruby-core:28366] [Bug #2823] IRB Crashes When Completing Method Names of BasicObjects Bug #2823: IRB Crashes When Completing Method Names of BasicObjects http://redmine.ruby-lang.org/issues/show/2823 Author: Run Paint Run Run Status: Open, Priority: Normal Category: lib ruby -v: ruby 1.9.2dev (2010-02-19 trunk 26715) [i686-linux] $ irb -rirb/completion irb(main):001:0> b=BasicObject.new (Object doesn't support #inspect) => irb(main):002:0> b. /usr/local/lib/ruby/1.9.1/irb/completion.rb:143:in `eval': undefined method `methods' for # (NoMethodError) from /usr/local/lib/ruby/1.9.1/irb/completion.rb:143:in `eval' from /usr/local/lib/ruby/1.9.1/irb/completion.rb:143:in `block in ' from /usr/local/lib/ruby/1.9.1/irb/input-method.rb:115:in `call' from /usr/local/lib/ruby/1.9.1/irb/input-method.rb:115:in `readline' from /usr/local/lib/ruby/1.9.1/irb/input-method.rb:115:in `gets' from /usr/local/lib/ruby/1.9.1/irb.rb:139:in `block (2 levels) in eval_input' from /usr/local/lib/ruby/1.9.1/irb.rb:271:in `signal_status' from /usr/local/lib/ruby/1.9.1/irb.rb:138:in `block in eval_input' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:189:in `call' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:189:in `buf_input' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:103:in `getc' from /usr/local/lib/ruby/1.9.1/irb/slex.rb:205:in `match_io' from /usr/local/lib/ruby/1.9.1/irb/slex.rb:75:in `match' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:287:in `token' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:263:in `lex' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:234:in `block (2 levels) in each_top_level_statement' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:230:in `loop' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:230:in `block in each_top_level_statement' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `catch' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in `each_top_level_statement' from /usr/local/lib/ruby/1.9.1/irb.rb:153:in `eval_input' from /usr/local/lib/ruby/1.9.1/irb.rb:70:in `block in start' from /usr/local/lib/ruby/1.9.1/irb.rb:69:in `catch' from /usr/local/lib/ruby/1.9.1/irb.rb:69:in `start' from /usr/local/bin/irb:12:in `
' That's with an empty ~/.irbrc and version irb 0.9.6(09/06/30) ---------------------------------------- http://redmine.ruby-lang.org