The_heist is a project mainly written in Ruby, based on the View license.
Take the output of gem list and generate installation commands.
Take the output of gem list
and generate installation commands.
But the gem name heist
was already taken!
$ gem install the_heist
Example gem list:
$ gem list
*** LOCAL GEMS ***
redis (2.0.6, 2.0.5, 1.0.7)
redis-namespace (0.8.0, 0.7.0)
Now pull off the heist!
$ gem list | heist
gem install redis --version=1.0.7 --no-ri --no-rdoc
gem install redis --version=2.0.5 --no-ri --no-rdoc
gem install redis --version=2.0.6 --no-ri --no-rdoc
gem install redis-namespace --version=0.7.0 --no-ri --no-rdoc
gem install redis-namespace --version=0.8.0 --no-ri --no-rdoc
Optionally, you can pull off the heist with only the newest version of each gem !
$ gem list | heist --recent
gem install redis --version=2.0.6 --no-ri --no-rdoc
gem install redis-namespace --version=0.8.0 --no-ri --no-rdoc
There is probably a better way to do this.
Coughing, wheezing, sneezing, itching, runny nose, loss of appetite, dabbling in Clojure.
Suppresses ri/rdoc by default.
It is likely that gem dependencies will pile on more gem versions than the explicitly designated ones.