[Rubygems-developers] Why is ruby gems always updating when using "--source" ?

Eric Hodel drbrain at segment7.net
Thu May 15 03:34:20 EDT 2008

On May 14, 2008, at 05:30 AM, Lothar Scholz wrote:
> Wednesday, May 14, 2008, 6:29:36 PM, you wrote:
> LL> On Wed, May 14, 2008 at 6:05 AM, Lothar Scholz
> LL> <scholz at scriptolutions.com> wrote:
>>> and have to wait a long long time, but without --source it does it
>>> immediately (well still slow but at least without any updates).
> LL> When you explicitly indicates it, it skip the current local  
> cache it
> LL> have for it and try downloading again.
> First i do not understand why the local cache does not not have an
> indicator for the repository url (it should find out that source is
> just the same). I do not even understand what the purpose of this
> cache is when an explicit "--remote" is added.
> Second why does it want to update any kind of data when i just want to
> retrieve a remote spec.
> Sorry i think something is terrible broken here.
> In terms of performance rubygems sucks huge at the moment.
> With more then 3000 gems and 13000 versions we need a lot of
> improvements.

The current metadata update system is a victim of RubyGems success.   
Please see trunk for work in progress towards an improved metadata  
update system.  It is not yet wired in, however.

More information about the Rubygems-developers mailing list