Try typing the following to determine which version of rubygems you
have installed:

gem -v

The current version is 1.3.1

I suspect you might have competing versions of rubygems or ruby
installed. You can find out which path is being used for each by
typing:

which ruby
which gem

Depending upon what you find, you may need to re-install rubygems from
scratch. If your gem path and ruby path vary (for example, ruby is /
usr/bin/ruby and rubygems are /usr/local/bin/gem) then I'd suggest
reinstalling rubygems like so:

curl -O http://rubyforge.iasi.roedu.net/files/rubygems/rubygems-1.3.1.tgz
tar xzvf rubygems-1.3.1.tgz
cd rubygems-1.3.1
sudo /usr/bin/ruby setup.rb

That last line should mirror the full path to the ruby executable. So
if when you typed 'which ruby' it returned /usr/local/bin/ruby, then
you'd want to use that instead:

sudo /usr/local/bin/ruby setup.rb

Hope this helps.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to