[Rubygems-developers] gem list as input to gem install?

Hugh Sasse hgs at dmu.ac.uk
Mon Feb 1 18:03:26 EST 2010



On Mon, 1 Feb 2010, John Trupiano wrote:

> On Mon, Feb 1, 2010 at 5:32 PM, Hugh Sasse <hgs at dmu.ac.uk> wrote:
> 
> > OK, maybe John's code will give me a way in to this, but it just seemed
> > like refactoring list --local was the obvious way.  But using the API
> > is arguably better.
> >
> 
> 
> I just want to point out that gem list is going to tell you about the entire
> set of gems installed on a machine, not necessarily the subset of those gems
> that are used/activated by a given codebase.  That's where I think you'll
> find gem_filer to be helpful.

For the case of upgrading the machine when the ABI changes, like happened
to cygwin over Christmas (approx), data for the whole machine would be good
to have.  But most of the time it would be too much, yes.
> 
> -John

        Hugh


More information about the Rubygems-developers mailing list