Bug #3760

help "String.new" (for example) no longer works in irb

Added by Dave Thomas over 3 years ago. Updated almost 3 years ago.

[ruby-core:31927]
Status:Closed
Priority:Normal
Assignee:Keiju Ishitsuka
Category:-
Target version:1.9.3
ruby -v:ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0] Backport:

Description

=begin
ruby-1.9.2-p0 > help "String.new"
NoMethodError: undefined method get_info_for' for #<RDoc::RI::Driver:0x000001009d9c38>
from /Users/dave/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/cmd/help.rb:29:in
block in execute'
from /Users/dave/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/irb/cmd/help.rb:27:in `each'
. . .

Cheers

Dave
=end

bug3760.patch Magnifier (1.04 KB) Eito Katagiri, 09/02/2010 09:29 PM


Related issues

Duplicated by ruby-trunk - Bug #3992: irb's "help" command errs in 1.9.x Rejected 10/28/2010

Associated revisions

Revision 32286
Added by Keiju Ishitsuka almost 3 years ago

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

History

#1 Updated by Eito Katagiri over 3 years ago

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

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

#2 Updated by Shyouhei Urabe over 3 years ago

  • Status changed from Open to Feedback

=begin

=end

#3 Updated by Yui NARUSE over 3 years ago

  • Status changed from Feedback to Rejected

=begin
No feedback.
=end

#4 Updated by Run Paint Run Run over 3 years ago

=begin
Please reopen.

RUBYREVISION
=> 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
irbbinding'
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 evalinput'
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

#5 Updated by Yui NARUSE over 3 years ago

  • Status changed from Rejected to Assigned
  • Assignee set to Keiju Ishitsuka

=begin

=end

#6 Updated by Koichi Sasada almost 3 years ago

Keiju, how about it?

#7 Updated by Hiroshi Nakamura almost 3 years ago

  • Target version set to 1.9.3

#8 Updated by Keiju Ishitsuka almost 3 years ago

  • 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].

Also available in: Atom PDF