Help with rdoc stdlib on windows 2000

Hi,

I can’t get any output using rdoc on the stdlib. I am using windows
2000 and ruby 1.8.4. from the one-click installer. I have tried:

rdoc c:\ruby\lib -f html --op f:\temp\rubydocs

rdoc c:\ruby\lib -f html -o f:\temp\rubydocs

and

rdoc c:\ruby\lib -f chm -o f:\temp\rubydocs --op rubydocs.chm

With nothing but a long wait to show for the effort. Any help would be
appreciated.

thx

-Tesla

tesla wrote:

I appears to be a bug. Rdoc does not recognize any paths other than
root. Given a Drive letter in Windows or Linux it fails. So you can’t
run on one disk and write to another.

Tesla

tesla wrote:

Here’s the error code

Generating HTML…
c:/ruby/lib/ruby/1.8/ftools.rb:218:in mkdir': Invalid argument - files/c: (Errn o::EINVAL) from c:/ruby/lib/ruby/1.8/ftools.rb:218:inmakedirs’
from c:/ruby/lib/ruby/1.8/ftools.rb:211:in makedirs' from c:/ruby/lib/ruby/1.8/ftools.rb:214:inmakedirs’
from c:/ruby/lib/ruby/1.8/ftools.rb:211:in makedirs' from c:/ruby/lib/ruby/1.8/ftools.rb:214:inmakedirs’
from c:/ruby/lib/ruby/1.8/ftools.rb:211:in makedirs' from c:/ruby/lib/ruby/1.8/ftools.rb:214:inmakedirs’
from c:/ruby/lib/ruby/1.8/ftools.rb:211:in makedirs' from c:/ruby/lib/ruby/1.8/ftools.rb:214:inmakedirs’
from c:/ruby/lib/ruby/1.8/ftools.rb:211:in makedirs' from c:/ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:1285:ingen
_into’
from
c:/ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:1282:in gen _into' from c:/ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:1269:ingen
erate_html’
from
c:/ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:1190:in gen erate' from c:/ruby/lib/ruby/1.8/rdoc/rdoc.rb:263:indocument’
from c:/ruby/bin/rdoc.bat:70

On Dec 19, 2006, at 06:15, tesla wrote:

rdoc c:\ruby\lib -f chm -o f:\temp\rubydocs --op rubydocs.chm
These won’t give you the stdlib docs since it can’t get RDoc from the
C sources you don’t have.

Get a source tarball and build from it.


Eric H. - [email protected] - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!