views:

551

answers:

1

Why is the following happening, and how can I sort it?

On OS X Leopard (v10.5.6):

$ ./script/server 
Rails requires RubyGems >= 1.3.1 (you have 1.2.0). Please `gem update --system` and try again.
$ sudo gem update --system
Updating RubyGems
Nothing to update
+2  A: 

I haven't hit this issue myself but I've seen this as a possible solution:

$ sudo gem install rubygems-update
Successfully installed rubygems-update-1.3.0
1 gem installed
$ sudo update_rubygems

This should let you install the updating via the specific updater gem.

Referenced here: updating rubygems

paulthenerd
That works, thanks!
dbr
This is a chicken-and-egg problem: you want to upgrade from 1.2, because it has bugs. But one of the things that is broken in 1.2 is upgrading ...
Jörg W Mittag