C
Chris White
I'm very new to Ruby, but I have successfully built and installed Ruby 1.8.1
from the source code (using the VC7 compiler). However, when I use rdoc to
generate Ruby documentation, I get the following error messages towards the
end of the rdoc process:
Generating CHM...
E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:419:in
`build_method_detail_list': undefined
method `as_href' for nil:NilClass (NoMethodError)
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:416:in
`map'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:416:in
`build_method_detail_list
'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:401:in
`each'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:401:in
`build_method_detail_list
'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:399:in
`each'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:399:in
`build_method_detail_list
'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:398:in
`each'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:398:in
`build_method_detail_list
'
... 8 levels...
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:1087:in
`generate'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/chm_generator.rb:38:in
`generate'
from E:/Ruby/lib/ruby/1.8/rdoc/rdoc.rb:210:in `document'
from E:/Ruby/bin/rdoc.bat:70
I am using the following command line for rdoc:
rdoc --fmt chm --op E:\Ruby\doc
ruby --version outputs: ruby 1.8.1 (2003-12-25) [i386-mswin32]
Am I doing something wrong here, or is there an rdoc bug? It does generate
a bunch of html files in E:\Ruby\doc, but there also appear to be missing a
bunch of files, plus the .chm file is never generated. Thanks.
-Chris
from the source code (using the VC7 compiler). However, when I use rdoc to
generate Ruby documentation, I get the following error messages towards the
end of the rdoc process:
Generating CHM...
E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:419:in
`build_method_detail_list': undefined
method `as_href' for nil:NilClass (NoMethodError)
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:416:in
`map'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:416:in
`build_method_detail_list
'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:401:in
`each'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:401:in
`build_method_detail_list
'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:399:in
`each'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:399:in
`build_method_detail_list
'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:398:in
`each'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:398:in
`build_method_detail_list
'
... 8 levels...
from E:/Ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:1087:in
`generate'
from E:/Ruby/lib/ruby/1.8/rdoc/generators/chm_generator.rb:38:in
`generate'
from E:/Ruby/lib/ruby/1.8/rdoc/rdoc.rb:210:in `document'
from E:/Ruby/bin/rdoc.bat:70
I am using the following command line for rdoc:
rdoc --fmt chm --op E:\Ruby\doc
ruby --version outputs: ruby 1.8.1 (2003-12-25) [i386-mswin32]
Am I doing something wrong here, or is there an rdoc bug? It does generate
a bunch of html files in E:\Ruby\doc, but there also appear to be missing a
bunch of files, plus the .chm file is never generated. Thanks.
-Chris