On Aug 4, 2008, at 19:48 PM, RichardOnRails wrote:

> Hi Eric,
>
> Thanks for looking into this issue.  It's not life or death for me:  I
> can alway switch back painlessly to 1.8.6.
> The results per your request follow below.
>
> Best wishes,
> Richard
>
> K:\>gem env
> RubyGems Environment:
>  - RUBYGEMS VERSION: 1.2.0.1824
>  - RUBY VERSION: 1.9.0 (2008-07-25 patchlevel 0) [i386-mswin32]
>  - INSTALLATION DIRECTORY: K:/_Utilities/Ruby/lib/ruby/gems/1.9.0
>  - RUBY EXECUTABLE: K:/_Utilities/Ruby/bin/ruby.exe
>  - EXECUTABLE DIRECTORY: K:/_Utilities/Ruby/bin
>  - RUBYGEMS PLATFORMS:
>    - ruby
>    - x86-mswin32-60
>  - GEM PATHS:
>     - K:/_Utilities/Ruby/lib/ruby/gems/1.9.0
>     - F:/Documents and Settings/RLMuller/.gem
>  - GEM CONFIGURATION:
>     - :update_sources => true
>     - :verbose => true
>     - :benchmark => false
>     - :backtrace => false
>     - :bulk_threshold => 1000
>     - :sources => ["http://gems.rubyforge.org", "http://
> gems.rubyonrails.org"]
>  - REMOTE SOURCES:
>     - http://gems.rubyforge.org
>     - http://gems.rubyonrails.org
>
> K:\>gem --debug install rails -r
> Exception `NameError' at K:/_Utilities/Ruby/lib/ruby/1.9.0/rubygems/
> command_manager.rb:134 - uninitialized constant
> Gem::Commands::InstallCommand
> Exception `Errno::EEXIST' at K:/_Utilities/Ruby/lib/ruby/1.9.0/
> fileutils.rb:243 - File exists - F:/Documents and Settings/
> RLMuller/.gem/specs/gems.rub
> yforge.org%80
> Exception `URI::InvalidURIError' at K:/_Utilities/Ruby/lib/ruby/1.9.0/
> uri/common.rb:436 - bad URI(is not URI?):
> ERROR:  While executing gem ... (URI::InvalidURIError)
>    bad URI(is not URI?):
>        K:/_Utilities/Ruby/lib/ruby/1.9.0/uri/common.rb:436:in `split'
>        K:/_Utilities/Ruby/lib/ruby/1.9.0/uri/common.rb:485:in `parse'
>        K:/_Utilities/Ruby/lib/ruby/1.9.0/rubygems/remote_fetcher.rb:
> 237:in `open_uri_or_path'

Can you add 'p uri' above this line and report what it is trying to  
parse?