https://github.com/jcsalterego/the_heist
Take the output of gem list and generate installation commands.
https://github.com/jcsalterego/the_heist
Last synced: about 1 year ago
JSON representation
Take the output of gem list and generate installation commands.
- Host: GitHub
- URL: https://github.com/jcsalterego/the_heist
- Owner: jcsalterego
- License: other
- Created: 2011-03-24T23:52:08.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-04-19T14:41:47.000Z (about 15 years ago)
- Last Synced: 2025-03-29T16:11:34.775Z (about 1 year ago)
- Language: Ruby
- Homepage: http://rubygems.org/gems/the_heist
- Size: 508 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
The Heist
=========
Take the output of `gem list` and generate installation commands.
What Kind of Gem Includes A Definitive Article?
===============================================
But the gem name `heist` was already taken!
Installation
============
$ gem install the_heist
Usage
=====
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
Apologies
=========
There is probably a better way to do this.
Known Side Effects
==================
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.