From: "Berger, Daniel" Date: 2005-08-25T23:35:03+09:00 Subject: Re: OS independent way to read/write paths? > -----Original Message----- > From: nobu.nokada@softhome.net [mailto:nobu.nokada@softhome.net] > Sent: Wednesday, August 24, 2005 5:18 PM > To: ruby-talk ML > Subject: Re: OS independent way to read/write paths? > > > Hi, > > At Thu, 25 Aug 2005 06:42:07 +0900, > Daniel Berger wrote in [ruby-talk:153508]: > > Second, I would use ENV["HOME"] || ENV["USERPROFILE"] over a hard > > coded home > > directory on Windows. > > In 1.9, ENV["HOME"] will be set to %HOMEDRIVE%%HOMEPATH%, > %USERPROFILE%, or Personal Folder, at the start up. But now > I noticed it is not in 1.8, should it be backported? > > -- > Nobu Nakada I can't think of a good reason not to. Unless anyone objects, I say backport it. Regards, Dan