On Sep 26, 2008, at 12:46 PM, Luis Lavena wrote:
On Fri, Sep 26, 2008 at 1:37 PM, Dominic Sisneros
<[EMAIL PROTECTED]> 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
-- [EMAIL PROTECTED]
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel