Incomplete index for mirror? (Dalli 1.0.0 gem is missing when running gem mirror)

Christian van der Leeden's Avatar

Christian van der Leeden

13 Dec, 2010 12:07 PM

Hi,

we're running a local mirror from rubygems.org. the dalli gem did update to 1.0.0 in end of November, but the gem mirror command does not fetch it. Is the index incomplete?

Christian

  1. 2 Posted by Christian van der Leeden on 15 Dec, 2010 10:57 PM

    Christian van der Leeden's Avatar

    Hi,

    any news on this? Or is there a workaround? Would be great, otherwise our mirror is worthless.

    Christian

  2. Support Staff 3 Posted by Nick Quaranto on 15 Dec, 2010 11:03 PM

    Nick Quaranto's Avatar

    Yeah, verified this:

    radish master % curl --head http://production.s3.rubygems.org/Marshal.4.8.Z
    HTTP/1.1 200 OK
    x-amz-id-2: mo815+BaffDvDdZ66/JYIzlRjzWHIziYzm/NuVNBwB8+6dXQHH6Xy5DIf0W60HQ7
    x-amz-request-id: 49E957D396149C34
    Date: Wed, 15 Dec 2010 23:01:56 GMT
    Last-Modified: Mon, 22 Nov 2010 05:48:30 GMT
    ETag: "6ae9041629238215419d8676b2406e72"
    Accept-Ranges: bytes
    Content-Type: binary/octet-stream
    Content-Length: 9411178
    Server: AmazonS3
    

    I'm actually seeing nothing in our production server's weekly cron logs either. I'll look into this with Tom. Sorry, generating the legacy index is really a pain in the ass.

    In the meantime I would suggest using the new gem mirror:

    https://github.com/rubygems/rubygems-mirror

  3. 4 Posted by Christian van der Leeden on 15 Dec, 2010 11:21 PM

    Christian van der Leeden's Avatar

    Cool, I'll try the rugyems-mirror link, I don't need the legacy index..

    Thanks for your reply

    Christian

  4. Support Staff 5 Posted by Nick Quaranto on 16 Dec, 2010 12:51 AM

    Nick Quaranto's Avatar

    Just updated the legacy index, should be fine from here on out. I hope.

  5. Support Staff 6 Posted by Tom Copeland on 16 Dec, 2010 02:46 AM

    Tom Copeland's Avatar

    Nick, sorry about that, I should have checked it earlier.

    Looking at the log, it seems like it ran Dec 13 but errored out:

    $ cat /var/www/rubycentral/gemcutter.org/current/log/weekly_cron.log.1
    rake aborted!
    undefined method `name' for nil:NilClass
    /var/www/rubycentral/gemcutter.org/releases/20101201040822/app/models/version.rb:213:in `to_spec'
    /var/www/rubycentral/gemcutter.org/shared/bundle/ruby/1.8/gems/activerecord-3.0.0/lib/active_record/associations/association_collection.rb:430:in `method_missing'

    As you say, the legacy index continues to be a major pain...

  6. 7 Posted by Christian van der Leeden on 21 Dec, 2010 10:03 PM

    Christian van der Leeden's Avatar

    Just to give feedback here, we're using the https://github.com/rubygems/rubygems-mirror and works flawlessly. We're not generating legacy indexes either.

    Maybe worth to put up as FAQ item and hint that legacy index is not supported. You also probably have better things to do than to baby sit the legacy gem index :-)

    Thanks for the help

    Christian

  7. Nick Quaranto closed this discussion on 18 Jan, 2011 03:35 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac