From: Nobuyoshi Nakada Date: 2007-10-02T09:51:52+09:00 Subject: Re: Dir.chdir patch for MS Windows Hi, At Tue, 2 Oct 2007 01:50:29 +0900, Berger, Daniel wrote in [ruby-core:12328]: > Dir.chdir without any arguments will usually raise an error on MS > Windows because ENV['HOME'] is not typically set. This patch resorts to > USERPROFILE on Windows instead of LOGDIR. It also updates the rdoc. In 1.9, when ENV['HOME'] isn't set, it will be set using HOMEDRIVE+HOMEPATH, USERPROFILE, and "Personal" special-folder if they are all unset. -- Nobu Nakada