Eric Hodel
7/25/2008 3:16:00 AM
On Jul 24, 2008, at 17:30 PM, Rob Sanheim wrote:
> On Thu, Jul 24, 2008 at 7:40 PM, Eric Hodel <drbrain@segment7.net>
> wrote:
>> On Jul 24, 2008, at 13:26 PM, Rob Sanheim wrote:
>>>
>>> Is there a way to have rubygems not reinstall a gem if the latest
>>> version is already installed?
>>>
>>> For example, I want the second 'install' below to simply say
>>> 'already
>>> installed' and exit successfully.
>>
>> Why do you care?
>
> I'm going to be setting up machines with stock set of gems, and then
> periodically refreshing them with a revised list. I'd like to have
> gem skip the ones it already has for efficiency.
>
> So I take it I would have to use the gem api to do this?
No, your "stock set of gems" should be a gem that only has
dependencies on other gems.