[Ironruby-core] HOME and USERPROFILE aliasing under Windows

John Lam (IRONRUBY) jflam at microsoft.com
Tue Jul 1 18:31:59 EDT 2008

MRI currently expects the HOME environment variable to be set under Windows. Various operations involving ~ and Dir will fail if HOME is not defined.

However, HOME is rarely defined under Windows by default. Instead USERPROFILE is what normally represents HOME. IronRuby is considering aliasing HOME to USERPROFILE if HOME isn't already defined at startup time.

Does this seem like something reasonable to do in our implementation?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080701/39aa1fdc/attachment.html>

More information about the Ironruby-core mailing list