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

Category: Standard Library
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Hirokazu Yamamoto (ocean)
Assigned to: Nobody (None)
Summary: RDoc: cannot create diagram if only dir.c is specified

Initial Comment:
I have noticed following problem. It's OK to run all *.c like
"ruby ..\ruby\bin\rdoc ..\ruby\*.c -d -o \temp".

E:\ruby-cvs\win32>ruby ..\ruby\bin\rdoc ..\ruby\dir.c -d -o \temp

                              dir.c: c..........................
Generating HTML...
Diagrams: E:/ruby-cvs/ruby/lib/rdoc/diagram.rb:187:in `add_classes': undefined m
ethod `file_relative_name' for nil:NilClass (NoMethodError)
        from E:/ruby-cvs/ruby/lib/rdoc/generators/html_generator.rb:1205:in `eac
h_with_index'
        from E:/ruby-cvs/ruby/lib/rdoc/diagram.rb:186:in `add_classes'
        from E:/ruby-cvs/ruby/lib/rdoc/diagram.rb:74:in `draw'
        from E:/ruby-cvs/ruby/lib/rdoc/generators/html_generator.rb:1205:in `eac
h_with_index'
        from E:/ruby-cvs/ruby/lib/rdoc/diagram.rb:53:in `draw'
        from E:/ruby-cvs/ruby/lib/rdoc/rdoc.rb:262:in `document'
        from ../ruby/bin/rdoc:63


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

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