Skip to content

Instantly share code, notes, and snippets.

@jamster
Created January 12, 2011 16:34
Show Gist options
  • Select an option

  • Save jamster/776407 to your computer and use it in GitHub Desktop.

Select an option

Save jamster/776407 to your computer and use it in GitHub Desktop.
Script to install the gems that I have installed as of 1/12/11
gems = <<-GEMS
abstract (1.0.0)
actionmailer (3.0.3, 2.3.10)
actionpack (3.0.3, 2.3.10)
activemodel (3.0.3)
activerecord (3.0.3, 2.3.10)
activeresource (3.0.3, 2.3.10)
activesupport (3.0.3, 2.3.10)
addressable (2.2.2)
arel (2.0.6, 2.0.4)
autotest-fsevent (0.2.4)
autotest-growl (0.2.9)
autotest-rails (4.1.0)
aws-s3 (0.6.2)
bcrypt-ruby (2.1.3, 2.1.2)
bson (1.1.5, 1.1.2)
bson_ext (1.1.5, 1.1.2)
builder (2.1.2)
bundler (1.0.7)
capistrano (2.5.19)
capistrano-ext (1.2.1)
color (1.4.1)
columnize (0.3.2)
couchrest (1.0.1)
crack (0.1.8)
daemon_controller (0.2.5)
devise (1.1.5)
diff-lcs (1.1.2)
erubis (2.6.6)
factory_girl (1.3.2)
faker (0.3.1)
faraday (0.5.2)
fastercsv (1.5.3)
fastthread (1.0.7)
file-tail (1.0.5)
gemedit (0.9.0)
highline (1.6.1)
hoe (2.8.0)
hpricot (0.8.3)
htmldiff (0.0.1)
httparty (0.6.1)
i18n (0.5.0, 0.4.2)
jquery-rails (0.2.5)
json (1.4.6)
linecache (0.43)
mail (2.2.13, 2.2.12, 2.2.10)
mechanize (1.0.0)
memcache-client (1.8.5)
memcached (1.0.2)
microid (0.0.1)
mime-types (1.16)
mislav-will_paginate (2.3.11)
mocha (0.9.10, 0.9.9)
mongo (1.1.5, 1.1.2)
mongoid (2.0.0.beta.20)
multi_json (0.0.5)
multipart-post (1.0.1)
mysql (2.8.1)
mysql2 (0.2.6)
net-scp (1.0.4)
net-sftp (2.0.5)
net-ssh (2.0.23)
net-ssh-gateway (1.0.1)
nokogiri (1.4.4, 1.4.3.1)
oa-core (0.1.6)
oa-oauth (0.1.6)
oa-openid (0.1.6)
oauth (0.4.4)
oauth2 (0.1.0)
orm_adapter (0.0.3)
paperclip (2.3.5)
passenger (3.0.2)
pdf-writer (1.1.8)
polyglot (0.3.1)
populator (0.2.5)
rack (1.2.1, 1.1.0)
rack-mount (0.6.13)
rack-openid (1.2.0)
rack-test (0.5.6)
rails (3.0.3, 2.3.10)
railties (3.0.3)
rake (0.8.7)
RedCloth (4.2.3)
redis (2.1.1, 0.1.2)
redis-namespace (0.10.0, 0.8.0)
resque (1.10.0)
rest-client (1.6.1)
rmagick (2.13.1)
rspec (1.3.0)
rspec-core (2.3.1)
rspec-expectations (2.3.0)
rspec-mocks (2.3.0)
rspec-rails (1.3.1)
ruby-debug (0.10.4)
ruby-debug-base (0.10.4)
ruby-openid (2.1.8)
ruby-openid-apps-discovery (1.2.0)
sentry (0.3.1)
shoulda (2.11.3)
simple-rss (1.2.3)
sinatra (1.1.0, 1.0)
spruz (0.2.2)
sqlite3-ruby (1.3.2)
sys-uname (0.8.5)
system_timer (1.0)
SystemTimer (1.2.1)
thor (0.14.6, 0.14.4)
tilt (1.1)
transaction-simple (1.4.0)
treetop (1.4.9)
tzinfo (0.3.23)
vegas (0.1.8)
warden (1.0.3)
webrat (0.7.2)
will_paginate (3.0.pre2)
wxruby (1.9.3 universal-darwin)
xml-simple (1.0.12)
yajl-ruby (0.7.8)
ZenTest (4.4.2)
GEMS
gems.each_line do |line|
parts = line.split(" (")
gem_name = parts[0]
versions = parts[1].gsub(/\)/, '').split(",").map{|x| x.strip}
versions.each do |version|
command = "gem install #{gem_name} --version=#{version} --no-rdoc --no-ri"
puts command
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment