Bugs item #1319, was opened at 2005-01-10 14:59
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1319&group_id=426

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: M Purtill (purtill)
Assigned to: Nobody (None)
Summary: rdoc crashes on stock Mandrake 10.1 Official

Initial Comment:
I do this:

% cd /usr/lib/ruby
% rdoc --ri
and get (after a lot of omitted lines):

                         base64.rb: ....
                          abbrev.rb: m.c
                             Env.rb:
                         English.rb:
                       benchmark.rb: m......c..c..c...........
Generating RI...
/usr/lib/ruby/1.8/rdoc/markup/simple_markup/to_flow.rb:92:in `accept_rule': undefined local variable or method `size' for #<SM::ToFlow:0x41ae425c> (NameError)
        from /usr/lib/ruby/1.8/rdoc/markup/simple_markup/fragments.rb:170:in `accept'
        from /usr/lib/ruby/1.8/rdoc/markup/simple_markup/fragments.rb:165:in `each'
        from /usr/lib/ruby/1.8/rdoc/markup/simple_markup/fragments.rb:165:in `accept'
        from /usr/lib/ruby/1.8/rdoc/markup/simple_markup.rb:259:in `convert'
        from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:224:in `markup'
        from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:107:in `generate_class_info'
        from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:90:in `process_class'
        from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:85:in `generate'
        from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:84:in `each'
        from /usr/lib/ruby/1.8/rdoc/generators/ri_generator.rb:84:in `generate'
        from /usr/lib/ruby/1.8/rdoc/rdoc.rb:210:in `document'
        from /usr/bin/rdoc:63
Exit 1

Of course, it would be best if mandrake provided the documentation, but rdoc still shouldn't crash.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=1319&group_id=426