[Rubygems-developers] Remote Installer Progress

Gavin Sinclair gsinclair at soyabean.com.au
Sat Dec 4 10:49:34 EST 2004

On Saturday, December 4, 2004, 3:55:34 AM, Jim wrote:

> BTW, I use the following algorithm to determine a home directory. This
> probably fails on older windows systems that don't set USERFPROFILE,
> HOMEDRIVE or HOMEPATH.  And expanding "~" fails on anything without HOME
> defined, so I need a better "last resort".  Suggestions welcome.

A good last resort is probably C:\.  Perhaps there's an environment
variable that points to the drive where the OS is installed.

I doubt anyone would be using Win98 etc. now anyway.  Hal Fulton may
have been the last of the old guard...


More information about the Rubygems-developers mailing list