Created
May 29, 2009 21:00
-
-
Save matasar/120207 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# The "real" count of rubygems on github | |
lines = `gem list -r -s http://gems.github.com`.split("\n") | |
gems = lines.map{|line| line.split('-')[1].split[0]}.uniq | |
puts gems.size | |
# Outputs 3140 as of this writing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment