Forum: Ruby-core [Ruby 1.9-Bug#3760][Open] help "String.new" (for example) no longer works in irb

Posted by Dave Thomas (Guest)
on 2010-08-29 15:38
(Received via mailing list)
Bug #3760: help "String.new" (for example) no longer works in irb
http://redmine.ruby-lang.org/issues/show/3760

Author: Dave Thomas
Status: Open, Priority: Normal
ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]

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
Posted by Eito Katagiri (Guest)
on 2010-09-02 14:34
Attachment: bug3760.patch (1,04 KB)
(Received via mailing list)
Issue #3760 has been updated by Eito Katagiri.

File bug3760.patch added

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.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/3760
Posted by Yui NARUSE (Guest)
on 2010-12-26 06:56
(Received via mailing list)
Issue #3760 has been updated by Yui NARUSE.

Status changed from Feedback to Rejected

No feedback.
Posted by Run Paint Run Run (Guest)
on 2010-12-27 18:21
(Received via mailing list)
Issue #3760 has been updated by Run Paint Run Run.


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 `<main>'Maybe IRB bug!
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.