[Rubygems-developers] Detecting server changes

Richard Kilmer rich at infoether.com
Mon Nov 29 09:19:18 EST 2004


I think this strategy of writing to the center if possible, then falling
back to the user's home dir is the right one.  I suppose you could then use
mtime one each database to determine which is the newest and just compare
that to the rubyforge db.

-rich


On 11/26/04 11:51 PM, "Jim Weirich" <jim at weirichhouse.org> wrote:

> 
> I'm suggesting that we store the cached results in the users's home directory
> (or appropriate directory on windows).  This allows a gem list command to
> update the cache without running under sudo.  We could act intelligently and
> only store in the home directory if the normal cache directory is write
> protected.  We could also check both the system-wide cache and the
> user-specific cache when comparing against the server.




More information about the Rubygems-developers mailing list