rdoc breaking

J

Jamie Orchard-Hays

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
 
D

Dave Thomas

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:

You'll need to email me (off list) the file that causes the error,
along with the version on Ruby and rdoc you're using, and I'll look
into it.

Cheers

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top