Search code examples
rubystatisticsrubygemsgemcutterrubyforge

How many times was a Ruby gem installed via `gem install` or `gem update`


I am trying to find out how many times a gem was installed via gem install or gem update.

For example, Watir 1.6.2:

I have been told that 4,027 does not include installs made via gem install or gem update. Is that information correct? If yes, where can I find the numbers for gem install and gem update? I have looked everywhere I could think of at rubyforge, but no luck.


Solution

  • Yup, I hope to migrate all the download stats over to gemcutter... although we're going to have to do that carefully since there are about 50M rows. That said, here's what I've got for watir-1.6.2 on RubyForge:

    gforge=> select count(*) from gem_downloads where gem_name = 'watir-1.6.2.gem';
     count 
    -------
     29169
    (1 row)