[Rake-devel] win32_system_dir
Jim Weirich
jim.weirich at gmail.com
Fri Sep 26 20:47:41 EDT 2008
On Sep 26, 2008, at 12:46 PM, Luis Lavena wrote:
> On Fri, Sep 26, 2008 at 1:37 PM, Dominic Sisneros
> <dsisnero at gmail.com> wrote:
>> I defined a HOME env variable under my user dir. I would like this
>> the
>> Win32.win32_system_dir to use this ENV var if defined.
>>
>>
>> def test_win32_system_dir_uses_env_HOME_if_defined
>> in_environment('HOME' => 'C:/home') do
>> assert_equal "C:/home", Win32.win32_system_dir
>> end
>> end
>>
>
> The problem is that current Rake is giving the following order:
>
> APPDATA
> HOMEDRIVE + HOMEPATH
> USERPROFILE
>
>> From my point of view and experience, to it should try:
>
> HOME
> HOMEDRIVE + HOMEPATH
> APPDATA
> USERPROFILE
APPDATA was what was suggested earlier on this mailing list (unless my
memory is failing me).
I have no strong feelings on the priority. However, I would like to
get consensus here.
--
-- Jim Weirich
-- jim.weirich at gmail.com
More information about the Rake-devel
mailing list