Peter McMaster wrote:
Hello!
Possibly a dumb question, but any idea why running rdoc in
/opt/local/lib/ruby (where it's all at) produces the following:
Generating HTML...
/opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:419:in
`build_method_detail_list': undefined method `as_href' for nil:NilClass
This looks similar to this
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/84835
and
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/88969
Not sure if they will answer the problem.
I believe, though, you need to run rdoc in the ruby/lib dir.
I tried searching around for more info, as I know this sort of thing
comes up every so often. Maybe the first entry for a ruby-doc FAQ?
If you can't get an answer here, then you may want to post to ruby-talk,
or contact Dave Thomas directly. He maintains rdoc but does not, as
far as I know, follow this mailing list.
James
|