help with rdoc stdlib on windows 2000

Discussion in 'Ruby' started by tesla, Dec 19, 2006.

  1. tesla

    tesla Guest

    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, Dec 19, 2006
    #1
    1. Advertisements

  2. tesla

    tesla Guest

    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
     
    tesla, Dec 19, 2006
    #2
    1. Advertisements

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

    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-----
     
    Daniel Berger, Dec 19, 2006
    #3
  4. tesla

    Eric Hodel Guest

    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 Hodel, Dec 19, 2006
    #4
  5. tesla

    tesla Guest

    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, Dec 19, 2006
    #5
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.