Problem installing gem - please help

I need to install gem GData

RobsMacAir:Developer rob$ sudo gem install GData -v=0.0.4
Password:
ERROR: Error installing GData:
hoe requires RubyGems version >= 1.4
RobsMacAir:Developer rob$ sudo gem install RubyGems -v=1.4.0
ERROR: could not find gem RubyGems locally or in a repository
RobsMacAir:Developer rob$

Not sure what I am doing wrong or how to move forward.

*** LOCAL GEMS ***

actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)
activeresource (2.2.2)
activesupport (2.2.2, 1.4.4)
acts_as_ferret (0.4.1)
builder (3.0.0)
capistrano (2.0.0)
curb (0.3.2)
daemons (1.0.9, 1.0.7)
dnssd (0.6.0)
fastthread (1.0.1, 1.0)
fcgi (0.8.7)
ferret (0.11.4)
gem_plugin (0.2.3, 0.2.2)
highline (1.2.9)
hpricot (0.6)
libxml-ruby (0.9.5)
mongrel (1.1.4, 1.0.1)
needle (1.3.0)
net-sftp (1.1.0)
net-ssh (1.1.2)
parseexcel (0.5.2)
rails (2.2.2)
rake (0.8.4)
RedCloth (3.0.4)
ruby-openid (1.1.4)
ruby-yadis (0.3.4)
rubygems-update (1.4.0, 1.3.1)
rubynode (0.1.3)
rubyzip (0.9.1)
sqlite3-ruby (1.2.1)
termios (0.9.4)
RobsMacAir:Developer rob$


hoe requires RubyGems version >= 1.4
RobsMacAir:Developer rob$ sudo gem install RubyGems -v=1.4.0
ERROR: could not find gem RubyGems locally or in a repository
RobsMacAir:Developer rob$

You need to update gems itself. See this page for the finer details:

http://rubygems.org/pages/download

Regards,
Chris W.
Twitter: @cwgem

Rob Th wrote in post #1013832:

RobsMacAir:Developer rob$ sudo gem install RubyGems -v=1.4.0
ERROR: could not find gem RubyGems locally or in a repository
RobsMacAir:Developer rob$

You could try:

sudo gem update --system

But if you have a very ancient version of rubygems it might not work.