[Ironruby-core] HOME and USERPROFILE aliasing under Windows

Jirapong jirapong.nanta at gmail.com
Thu Jul 3 14:58:22 EDT 2008


same problem reported at #20475. and i agree that HOME Env should  
handle by that class

-Jirapong

On Jul 2, 2008, at 5:31 AM, "John Lam (IRONRUBY)"  
<jflam at microsoft.com> wrote:

> 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?
>
>
>
> Thanks,
>
> -John
>
>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core


More information about the Ironruby-core mailing list