Marek Janukowicz
10/18/2003 4:00:00 PM
I just found a bug (?) in rdoc tool. I have the following directory
structure:
doc/
lib/
sws.rb
sws/
some .rb files
When I run the following command (in doc/ directory):
rdoc -o rdoc -T kilmer ../lib/*
I get the following error:
application.rb: /usr/lib/ruby/site_ruby/1.8/rdoc/rdoc.rb:155:in
`initialize': No such file or directory - .lib/sws/application.rb
(Errno::ENOENT)
from /usr/lib/ruby/site_ruby/1.8/rdoc/rdoc.rb:155:in `open'
from /usr/lib/ruby/site_ruby/1.8/rdoc/rdoc.rb:155:in `parse_files'
from /usr/lib/ruby/site_ruby/1.8/rdoc/rdoc.rb:152:in `each'
from /usr/lib/ruby/site_ruby/1.8/rdoc/rdoc.rb:152:in `parse_files'
from /usr/lib/ruby/site_ruby/1.8/rdoc/rdoc.rb:188:in `document'
from /usr/bin/rdoc:6
But if I run the same command giving full path instead the documentation
is generated without any problem.
Of course the file ../lib/sws/application.rb exists.
--
Marek Janukowicz