- From: Adam Jacob <adam@opscode.com>
- To: chef@lists.opscode.com
- Subject: [chef] Re: Re: Re: Re: Install local gems with chef
- Date: Tue, 7 Jul 2009 11:30:19 -0700
On Tue, Jul 7, 2009 at 11:27 AM, Bryan McLellan<btm@loftninjas.org> wrote:
>
how about a notif around 'gem query --installed -n PACKAGE'
I bow before your rocking gem-ness.
gem query --installed -n treetop --version 1.2.5
true
gem query --installed -n treetop --version 1.2.6
false
With proper error codes.
Nice one. I think we should start having command golf points for
things like this. :)
Adam
--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E: adam@opscode.com
Archive powered by MHonArc 2.6.16.