Failed install of 2.0.2

I attempted to install ruby 1.8.6, gem 0.9.5, and rails 2.0.2. The
first two steps went fine, but I get the following:

xxx@yyy:~/rubygems-0.9.5$ sudo gem install rails -y
INFO: gem install -y is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)
OpenURI::HTTPError: 404 Not Found reading
RubyGems.org | your community gem host

so activesupport-2.0.2-.gem is missing or the extra hyphen at the end
of the version number is a typo?

sudo gem install --source http://gems.rubyonrails.org

The following command worked:

sudo gem install rails --sourcehttp://gems.rubyonrails.org

Thanks.