Incomplete index for mirror? (Dalli 1.0.0 gem is missing when running gem mirror)
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
Comments are currently closed for this discussion. You can start a new one.
2 Posted by Christian van der Leeden on 15 Dec, 2010 10:57 PM
Hi,
any news on this? Or is there a workaround? Would be great, otherwise our mirror is worthless.
Christian
Support Staff 3 Posted by Nick Quaranto on 15 Dec, 2010 11:03 PM
Yeah, verified this:
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
4 Posted by Christian van der Leeden on 15 Dec, 2010 11:21 PM
Cool, I'll try the rugyems-mirror link, I don't need the legacy index..
Thanks for your reply
Christian
Support Staff 5 Posted by Nick Quaranto on 16 Dec, 2010 12:51 AM
Just updated the legacy index, should be fine from here on out. I hope.
Support Staff 6 Posted by Tom Copeland on 16 Dec, 2010 02:46 AM
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...
7 Posted by Christian van der Leeden on 21 Dec, 2010 10:03 PM
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
Nick Quaranto closed this discussion on 18 Jan, 2011 03:35 AM.