From: Rob Sanheim Date: 2008-07-25T09:30:59+09:00 Subject: Re: avoid reinstalling gem (if its already installed?) On Thu, Jul 24, 2008 at 7:40 PM, Eric Hodel 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? - Rob