I'm getting the same result here.
Try this command:
gem update --system
It will update your RubyGems to 0.9.5, and you will be able to install Rails 2.0 without problem.
wow, gem update system causes a lot of vague (error) messages and then ends with:
lib/rubygems/local_remote_options.rb:89:30: ':' not followed by identified or op erator As of RubyGems 0.8.0, library stubs are no longer needed. Searching $LOAD_PATH for stubs to optionally delete (may take a while)... ...done. No library stubs found. RubyGems system software updated The filename, directory name, or volume label syntax is incorrect.
I'm not confident that I'm fixing a problem now....
gem update rails didn't work for me...
gem list shows the following: action_profiler (1.0.0) actionmailer (1.3.4, 1.3.2, 1.2.5) actionpack (1.13.4, 1.13.2, 1.12.5) actionwebservice (1.2.4, 1.2.2, 1.1.6) activerecord (1.15.4, 1.15.2, 1.14.4) activesupport (2.0.1, 1.4.3, 1.4.1, 1.3.1)
so only activesupport was updated?
Trying gem install rails again gives me another error message
gem install rails ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) OpenURI::HTTPError: 404 Not Found reading RubyGems.org | your community gem host ionmailer-2.0.1.gem
I am installing Rails on a Linux server and upgrading my development client (Windows XP) to Rails 2.0.
It is quite shocking to see how many issues I have encountered and many workaround I have had to apply today.
Examples below:
For gem install rails:
1. ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find rails (> 0) in any repository 2. undefined method `=' for #<Gem::ConfigFile:0x84691d4> 3. ERROR: While executing gem ... (Zlib::BufError) buffer error 4. ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) OpenURI::HTTPError: 404 Not Found reading RubyGems.org | your community gem host