On 5/31/2011 4:44 PM, Evan Phoenix wrote:
> rubygems-update version 1.8.5 has been released!
>
> * <http://rubygems.org>
> * <http://docs.rubygems.org>
> * <http://help.rubygems.org>
> * <http://github.com/rubygems>
> * <http://rubyforge.org/projects/rubygems>
>
> RubyGems is a package management framework for Ruby.
>
> This gem is an update for the RubyGems software. You must have an
> installation of RubyGems before this update can be applied.
>
> See Gem for information on RubyGems (or `ri Gem`)
>
> To upgrade to the latest RubyGems, run:
>
> $ gem update --system # you might need to be an administrator or root
>
> See UPGRADING.rdoc for more details and alternative instructions.
>
> -----
>
> If you don't have RubyGems installed, your can still do it manually:
>
> * Download from: https://rubygems.org/pages/download
> * Unpack into a directory and cd there
> * Install with: ruby setup.rb # you may need admin/root privilege
>
> For more details and other options, see:
>
> ruby setup.rb --help
>
> Changes:
>
> ### 1.8.5 / 2011-05-31
>
> * 2 minor enhancement:
> * The -u option to 'update local source cache' is official deprecated.
> * Remove has_rdoc deprecations from Specification.
>
> * 2 bug fixes:
> * Handle bad specs more gracefully.
> * Reset any Gem paths changed in the installer.
>
>
>
Evan,

I've run into a bit of a problem with this version of the rubygems-update, (or
maybe it was the last one). It errors out when I try to update:

--- 8< -------------------------- 8< --------------------------- 8<
----------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Lawrence>set homepath
HOMEPATH=\Documents and Settings\Lawrence

C:\Documents and Settings\Lawrence>set HOMEPATH=/Documents and Settings/Lawrence

C:\Documents and Settings\Lawrence>set homepath
HOMEPATH=/Documents and Settings/Lawrence

--- 8< -------------------------- 8< --------------------------- 8<
----------------------
C:\Documents and Settings\Lawrence>gem update --system --backtrace
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory - C:/%HOMEPATH%
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:54:in
`stat'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:54:in
`initialize'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:43:in
`new'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:43:in
`fetcher'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:209:in
`block in which_to_update'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:203:in
`each'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:203:in
`which_to_update'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:158:in
`update_rubygems'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:61:in
`execute'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in
`invoke'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147:in
`process_args'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117:in `run'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65:in `run'
        C:/lan/Ruby192/bin/gem:21:in `<main>'

--- 8< -------------------------- 8< --------------------------- 8<
----------------------
C:\Documents and Settings\Lawrence>echo C:/%HOMEPATH%
C://Documents and Settings/Lawrence

C:\Documents and Settings\Lawrence>set HOMEPATH=Documents and Settings/Lawrence

C:\Documents and Settings\Lawrence>echo C:/%HOMEPATH%
C:/Documents and Settings/Lawrence

--- 8< -------------------------- 8< --------------------------- 8<
----------------------
C:\Documents and Settings\Lawrence>gem update --system --backtrace
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory - C:/%HOMEPATH%
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:54:in
`stat'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:54:in
`initialize'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:43:in
`new'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:43:in
`fetcher'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:209:in
`block in which_to_update'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:203:in
`each'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:203:in
`which_to_update'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:158:in
`update_rubygems'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/commands/update_command.rb:61:in
`execute'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:278:in
`invoke'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:147:in
`process_args'
       
C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:117:in `run'
        C:/lan/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:65:in `run'
        C:/lan/Ruby192/bin/gem:21:in `<main>'

--- 8< -------------------------- 8< --------------------------- 8<
----------------------
C:\Documents and Settings\Lawrence>cd \

C:\>cd c:/%HOMEPATH%

C:\Documents and Settings\Lawrence>time
The current time is: 15:24:15.81
Enter the new time:

C:\Documents and Settings\Lawrence>date
The current date is: Sat 06/04/2011
Enter the new date: (mm-dd-yy)

C:\Documents and Settings\Lawrence>
--- 8< -------------------------- 8< --------------------------- 8<
----------------------

As you can see I'm currently running on my:
    o Windows XP Pro, SP3, system
    o ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
    o gem 1.8.4
    o 8 GB RAM (only <4 GB usable in XP)

My install of rubygems-update 1.8.4 was no problem:

--- 8< -------------------------- 8< --------------------------- 8<
----------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:>gem update --system
Fetching: rubygems-update-1.8.4.gem (100%)
Temporarily enhancing PATH to include DevKit...
Successfully installed rubygems-update-1.8.4
Installing RubyGems 1.8.4
RubyGems 1.8.4 installed
unable to convert U+0160 from UTF-8 to IBM437 for History.txt, skipping
unable to convert U+0160 from UTF-8 to IBM437 for History.txt, skipping

n++=== 1.8.4 / 2011-05-25

* 1 minor enhancement:

  * Removed default_executable deprecations from Specification.


------------------------------------------------------------------------------

RubyGems installed the following executables:
        C:/lan/Ruby192/bin/gem

RubyGems system software updated

C:>
--- 8< -------------------------- 8< --------------------------- 8<
----------------------
--- 8< -------------------------- 8< --------------------------- 8<
----------------------

So what have I done wrong this time?

Thank you for any and All Help!

Lawrence
    - - - Professional nooby & Gomgoru