rubygems/rubygems.org — pull request #452 by janko-m (2012-08-23 21:47:48+00:00)
Title: A Rake task for updating gems' download counts

I noticed that you don't have a task for that. I also noticed that rubygem records are updated very rarely with their number of downloads. Hopefully, now that you have this task, you can put it as a scheduled task to be run regularly (at least once a month, if it's possible).

I'm aware how big the `rubygems` table is, so I was careful about the memory. I've also written the task in a way that only 1 SQL query executed for updating all rubygems.