Updating RubyGems on OS X

I just took a peek at the Ruby on Rails site and version 2.2 is almost out. Since I haven’t been using Ruby or Rails in a while I’ve noticed a lot of changes, so I think I’m gonna start playing with it again – specially since version 2.2 includes i18n, which is what I’ve been waiting for.

So, according to Rails’ creator, I need RubyGems 1.3.1 so I can start playing with Rails 2.2 RC2. Ok, I don’t have a problem with that. Let’s update RubyGems:

$ sudo gem update –system
Updating RubyGems
Bulk updating Gem source index for: http://gems.rubyforge.org/
Nothing to update

Hmm. I’m pretty sure I don’t have the newest version, but I’ll check anyway just in case.

$ gem -v
1.1.1

I thought so. So how come I can’t update? After doing a google search I found I had to try this:

$ sudo gem install rubygems-update
Bulk updating Gem source index for: http://gems.rubyforge.org/
Successfully installed rubygems-update-1.3.1
1 gem installed

$ sudo update_rubygems

RubyGems installed the following executables:
        /usr/local/bin/gem
If `gem` was installed by a previous RubyGems installation, you may need
to remove it by hand. 

Let’s just do a quick check:

$ gem -v
1.3.1

There we go! Now we’re ready for Rails 2.2 RC2.

Advertisements

Radiohead Live

If you, like myself, are not one of the lucky people who attended the Radiohead show in Santa Barbara last August – and even if you did – then you should check out this story.

You can listen to the whole show online or download it if you subscribe to a podcast. So naturally I had to post this.

Enjoy!