help with rdoc stdlib on windows 2000

T

tesla

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
 
T

tesla

tesla said:
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
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:in `makedirs'
from c:/ruby/lib/ruby/1.8/ftools.rb:211:in `makedirs'
from c:/ruby/lib/ruby/1.8/ftools.rb:214:in `makedirs'
from c:/ruby/lib/ruby/1.8/ftools.rb:211:in `makedirs'
from c:/ruby/lib/ruby/1.8/ftools.rb:214:in `makedirs'
from c:/ruby/lib/ruby/1.8/ftools.rb:211:in `makedirs'
from c:/ruby/lib/ruby/1.8/ftools.rb:214:in `makedirs'
from c:/ruby/lib/ruby/1.8/ftools.rb:211:in `makedirs'
from c:/ruby/lib/ruby/1.8/ftools.rb:214:in `makedirs'
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:in `gen
_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:in `gen
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:in `document'
from c:/ruby/bin/rdoc.bat:70
 
D

Daniel Berger

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul said:
tesla wrote:

/ ...


There is one error. At some point, an argument is generated to make a
directory on the path "files/c:". This is not a valid path.

I know this is no a complete answer, but this stands out as an obvious
error.

I wonder if it's a path separator issue. Perhaps replacing the
backslashes with forward slashes will work.

- - Dan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFFiCkO3p/dorzCFX0RAgJ9AJ9FfEnwwtO+NK36F9eyDGBKgJb7ewCbBIf9
R12w5mwfiGCS68F7f3AvGik=
=5zv7
-----END PGP SIGNATURE-----
 
E

Eric Hodel

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

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.
 
T

tesla

tesla said:
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
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top