[Rubygems-developers] Question on class cache updates

Daniel Berger djberg96 at gmail.com
Tue Nov 25 23:05:27 EST 2008

Eric Hodel wrote:
> On Oct 29, 2008, at 14:24 PM, Berger, Daniel wrote:
>> I have a quick question on class cache updates. It seems to be updating
>> the class cache even if I don't specify -u on the command line. Is that
>> expected behavior?
> This is the ri class cache.
>> C:\>gem install foobar
>> ERROR:  could not find gem foobar locally or in a repository
>> Updating class cache with 1730 classes...
>> Seems odd to me, but if that's expected, then I'll just be quiet.
> This is a bug, the doc manager shouldn't do anything.  Fixed.
>> However, it also seems to do it when I tell it not to:
>> C:\>gem install win32-dir --no-update-sources
>> Successfully installed win32-dir-0.3.2
>> 1 gem installed
>> Installing ri documentation for win32-dir-0.3.2...
>> Updating class cache with 1730 classes...
>> Installing RDoc documentation for win32-dir-0.3.2...
>> That, or I'm confused about -u, which is a definite possibility.
> If you specify --no-ri you should not get this message.  (The code reads 
> that way.)
> I've updated RDoc to say "Updating ri class cache with [N] classes..."

Many thanks Eric.



More information about the Rubygems-developers mailing list