Using gem to update itself?

I have used gem to install rubygems-update(0.8.10) but when I do a
version gem still shows its version at 0.8.3. Is the another step, or
did I do the wrong one in the first place?

Robert

* sigzero@gmail.com <sigzero@gmail.com> [0456 13:56]:

I have used gem to install rubygems-update(0.8.10) but when I do a
version gem still shows its version at 0.8.3. Is the another step, or
did I do the wrong one in the first place?

run

update_rubygems

You wont' have to do it again, later versions don't need it.

···

--
'A little rudeness and disrespect can elevate a meaningless interaction
into a battle of wills and add drama to an otherwise dull day.'
    -- Calvin discovers Usenet
Rasputin :: Jack of All Trades - Master of Nuns

sigzero@gmail.com said:

I have used gem to install rubygems-update(0.8.10) but when I do a
version gem still shows its version at 0.8.3. Is the another step, or
did I do the wrong one in the first place?

Just run the update again.

There was a bug where it would download the new version, then run the
update_rubygems command for the previously installed version (it didn't
update its cache of installed gems after the download).

When you run the update the second time, it correctly installs the 0.8.10
version.

This has been fixed in 0.8.10 (if you could only get it installed! :slight_smile:

(Someone suggested running the update_rubygems command directly. That
might do it too).

···

--
-- Jim Weirich jim@weirichhouse.org http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)

Thanks!

Robert