Skip to content

Instantly share code, notes, and snippets.

@acdimalev
Created March 25, 2010 10:57
Show Gist options
  • Save acdimalev/343422 to your computer and use it in GitHub Desktop.
Save acdimalev/343422 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
dep = Gem::Dependency.new '', Gem::Requirement.default
specs = Gem.source_index.search dep
specs.each do |spec|
print "gem install #{spec.name} -v #{spec.version} --no-rdoc --no-ri\n"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment