An open API service indexing awesome lists of open source software.

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.

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.