From: Rob Sanheim Date: 2008-07-25T05:26:04+09:00 Subject: avoid reinstalling gem (if its already installed?) 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. rsanheim@ares:~ $ sudo gem install bacon Successfully installed bacon-1.0.0 1 gem installed Installing ri documentation for bacon-1.0.0... Installing RDoc documentation for bacon-1.0.0... rsanheim@ares:~ $ sudo gem list|grep bacon bacon (1.0.0, 0.9.0) rsanheim@ares:~ $ sudo gem install bacon Successfully installed bacon-1.0.0 1 gem installed Installing ri documentation for bacon-1.0.0... Installing RDoc documentation for bacon-1.0.0... thanks, - Rob