Bug #3760: help "String.new" (for example) no longer works in irb - Ruby

=begin
The attached patch should fix this issue. Please review and try the patch.

The "get_info_for" method has been removed from RDoc::RI::Driver class since r19537; when RDoc 2.2.1 r185 was imported.
=end

  • Status changed from Open to Feedback
  • Status changed from Feedback to Rejected

=begin
No feedback.
=end

=begin
Please reopen.

RUBY_REVISION
=> 30404
help 'String.new'
NoMethodError: undefined method get_info_for' for #<RDoc::RI::Driver:0x9a6f730> from /usr/local/lib/ruby/1.9.1/irb/cmd/help.rb:29:in block in execute'
from /usr/local/lib/ruby/1.9.1/irb/cmd/help.rb:27:in each' from /usr/local/lib/ruby/1.9.1/irb/cmd/help.rb:27:in execute'
from /usr/local/lib/ruby/1.9.1/irb/cmd/nop.rb:19:in execute' from /usr/local/lib/ruby/1.9.1/irb/extend-command.rb:135:in irb_help'
from /usr/local/lib/ruby/1.9.1/irb/extend-command.rb:138:in irb_help' from (irb):7:in irb_binding'
from /usr/local/lib/ruby/1.9.1/irb/workspace.rb:80:in eval' from /usr/local/lib/ruby/1.9.1/irb/workspace.rb:80:in evaluate'
from /usr/local/lib/ruby/1.9.1/irb/context.rb:254:in evaluate' from /usr/local/lib/ruby/1.9.1/irb.rb:159:in block (2 levels) in eval_input'
from /usr/local/lib/ruby/1.9.1/irb.rb:273:in signal_status' from /usr/local/lib/ruby/1.9.1/irb.rb:156:in block in eval_input'
from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:243:in block (2 levels) in each_top_level_statement' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in loop'
from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in block in each_top_level_statement' from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in catch'
from /usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in each_top_level_statement' from /usr/local/lib/ruby/1.9.1/irb.rb:155: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 'Maybe IRB bug!

=end

  • Status changed from Rejected to Assigned
  • Assignee set to keiju (Keiju Ishitsuka)
  • Target version set to 1.9.3
  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r32286.
Dave, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • lib/irb/cmd/help.rb: support RDoc 3.7. fix [Bug #3760].