rubygems/rubygems — Issue #288: gem spec (and possibly other commands) can't resolve non-latest gems
Author: raggi
Created: 2012-03-05 18:45:39+00:00
State: open

```
% gem spec -V -r -v '2.13.1' hoe
GET http://rubygems.org/latest_specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
ERROR: Unknown gem 'hoe'
```

This used to work, but no longer works. It should be checking more than just latest_specs if latest_specs doesn't contain that version. For exact version specifications, it *could* short-circuit to just try: `http://rubygems.org/quick/Marshal.4.8/hoe-2.13.1.gemspec.rz`