Updating RubyGems on Mac OS X 10.5 Leopard
I’m just posting a simple tip today.
I was wanting to play around with the very cool SASS meta-language using Compass. The language and tool are implemented in Ruby, which is pre-installed on OS X, but as I discovered, I needed a newer version of RubyGems.
I had already known I needed to update Gems, so I was doing the following:
Eventually I got errors like this:
Turns out, to update RubyGems, one must update the gem system!
So, the next correct command to run is:
This updated my RubyGems to version 1.3.1 and allowed me to move forward in playing with Ruby.