Problem with rdoc and gem installation

(TLOlczyk) #1

First a problem that I am unsure is related. It seems that I can call
rdoc from a dos box ( obviously platform Win32-this case NT ) but not
from a bash ( cygwin ) shell. I don't know if this is related or not,
but I mention it because it might.

The problem at hand is simple, rdoc sometimes seems to install the
docs for a certain gem other times it doesn't. In several of these
other cases going into the directory where the gem is installed
( BTW "gem rdoc" fails to install it too, but does not report any
errors ) and running rdoc by hand seems to work. Also some of the
gems for which no documentation is installed have had documentation
generated in the past ( my Ruby installation was corrupt, so I
completely removed any traces and reinstalled it from scratch ).

Three examples of gems that did install are:
rake
PrseTree
narf
three examples that failed are:
mechanize
fxruby
ZenHacks

So I have two questions: an idea what the problem itself is
and how do I fix it?

The other is: untill i do fix it, how can I take the hand generated
rdoc code and install it properly?

Thanks

The reply-to email address is olczyk2002@yahoo.com.
This is an address I ignore.
To reply via email, remove 2002 and change yahoo to
interaccess,

···

**
Thaddeus L. Olczyk, PhD

There is a difference between
*thinking* you know something,
and *knowing* you know something.

(Chad Fowler) #2

Three examples of gems that did install are:
rake
PrseTree
narf
three examples that failed are:
mechanize
fxruby
ZenHacks

So I have two questions: an idea what the problem itself is
and how do I fix it?

Looks like a recently(ish) injected bug. We'll put it on the list to
fix. Thanks!

The other is: untill i do fix it, how can I take the hand generated
rdoc code and install it properly?

You can hand generate it with the rdoc command and copy it under
$GEM_ROOT/doc/gemname-0.0.0/rdoc.

···

On 8/16/05, TLOlczyk <olczyk2002@yahoo.com> wrote:

--
Chad Fowler
http://chadfowler.com
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over 800,000 gems served!)