R
Rob Sanheim
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
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