Bugs: Browse | Submit New | Admin

[#19228] caching bug in 1.1.0 - must do gem list --remote --all to install non-newest versions

Date:
2008-03-31 22:28
Priority:
3
Submitted By:
Chad Woolley (thewoolleyman)
Assigned To:
Eric Hodel (drbrain)
Category:
`gem install` command
State:
Closed
Summary:
caching bug in 1.1.0 - must do gem list --remote --all to install non-newest versions

Detailed description
to reproduce:

* work with a gem (e.g. contacts) that is not cached or remove cache (just source_cache?)

* gem install contacts --version=1.0.10 # not most recent, fails to find

* gem list contacts --remote --all # finds 1.0.10

* gem install contacts --version=1.0.10 # Now it finds it

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-04-05 00:48
Sender: Eric Hodel

I think this is fixed now per our IM/email conversations.
Date: 2008-04-02 08:08
Sender: Chad Woolley

Attached is the one-line patch recommended by Eric Hodel, which
seems to fix all the issues.  However, it breaks a bajillion
tests, so I can't commit it yet.
Date: 2008-04-01 20:37
Sender: Orion Delwaterman

We also have this issue but follow all these steps we were still
unable to install the older version of the gem

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2008-04-05 00:48drbrain
resolution_idNone2008-04-05 00:48drbrain
assigned_tonone2008-04-05 00:48drbrain
close_date2008-04-05 00:482008-04-05 00:48drbrain