Jeff
4/30/2009 1:02:00 AM
On Apr 29, 5:16=A0pm, Eric Hodel <drbr...@segment7.net> wrote:
> On Apr 29, 2009, at 14:16, Jeff wrote:
>
> > This must be obvious, but what's the difference between "gem install"
> > and "gem update"?
>
> > I would have thought that "gem update" would do a gem install plus a
> > gem cleanup, effectively updating your current version. =A0But that
> > doesn't seem to be the case.
>
> gem update will update a named gem if there's a newer version, gem =A0
> install will always install.
Hi Eric,
But when I try to update a named gem, I get the new version, but also
still have the old version (if I do gem list I can see both
versions). So maybe I'm missing what you mean by "update" - looks to
me like it simply installed the new one alongside the old one, no
different than if I had done "gem install" to install the latest
version.
I'm currently on RubyGems 1.3.2.
Thanks again,
Jeff