How do you update rubygems using rvm and ree?

Viewed 26002

How do you update rubygems under rvm when ree is your default vm (on Snow Leopard)? I am doing:

$ rvm ree gem update --system

This results in things looking like everything went fine:

Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.7
Updating RubyGems to 1.3.7
Installing RubyGems 1.3.7
RubyGems 1.3.7 installed

[...]

RubyGems installed the following executables:
        /Users/douglassellers/.rvm/rubies/ree-1.8.7-2010.02/bin/gem

but when I run gem --version it still says 1.3.5. Doing a which gem points at ree version of gem.

Anyone know how to get rubygems to update with RVM?

4 Answers

It is an unusual problem. If it is not yet resolved, consider using

rvm --default use ree
which ruby
which gem

this should show you if you are in the right version.
install gems either using rvm or directly.

Related