I'm running rdoc to generate both ri and html formats, but both break. I'm on MacOS X Panther. Here's the error from generating ri:
Generating RI...
/sw/lib/ruby/1.8/rdoc/markup/simple_markup/to_flow.rb:92:in `accept_rule': undefined local variable or method `size' for #<SM::ToFlow:0x8e9dc0c> (NameError)
from /sw/lib/ruby/1.8/rdoc/markup/simple_markup/fragments.rb:170:in `accept'
from /sw/lib/ruby/1.8/rdoc/markup/simple_markup/fragments.rb:165:in `each'
from /sw/lib/ruby/1.8/rdoc/markup/simple_markup/fragments.rb:165:in `accept'
from /sw/lib/ruby/1.8/rdoc/markup/simple_markup.rb:259:in `convert'
from /sw/lib/ruby/1.8/rdoc/generators/ri_generator.rb:224:in `markup'
from /sw/lib/ruby/1.8/rdoc/generators/ri_generator.rb:107:in `generate_class_info'
from /sw/lib/ruby/1.8/rdoc/generators/ri_generator.rb:90:in `process_class'
from /sw/lib/ruby/1.8/rdoc/generators/ri_generator.rb:85:in `generate'
from /sw/lib/ruby/1.8/rdoc/generators/ri_generator.rb:84:in `each'
from /sw/lib/ruby/1.8/rdoc/generators/ri_generator.rb:84:in `generate'
from /sw/lib/ruby/1.8/rdoc/rdoc.rb:210:in `document'
from /sw/bin/rdoc:63
And here's the error I got when I ran rdoc for html:
Generating HTML...
/sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:419:in `build_method_detail_list': undefined method `as_href' for nil:NilClass (NoMethodError)
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:416:in `map'
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:416:in `build_method_detail_list'
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:401:in `each'
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:401:in `build_method_detail_list'
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:399:in `each'
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:399:in `build_method_detail_list'
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:398:in `each'
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:398:in `build_method_detail_list'
... 7 levels...
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:1163:in `generate_html'
from /sw/lib/ruby/1.8/rdoc/generators/html_generator.rb:1087:in `generate'
from /sw/lib/ruby/1.8/rdoc/rdoc.rb:210:in `document'
from /sw/bin/rdoc:63
Thanks,
Jamie