From: David Vallner Date: 2006-12-10T01:56:38+09:00 Subject: Re: autotest broken on winxp? --------------enigB2F5C9A6748AB908F45A99BB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jeff wrote: > I haven't tried autotest on windows for a long time, but I thought it > worked back then. Now, I get this error: >=20 > C:\dev\row>autotest > c:/program > files/ruby/lib/ruby/gems/1.8/gems/ZenTest-3.4.2/lib/autotest.rb:294:in > `expand_path': couldn't find HOME environment -- expanding > `~/.autotest' (ArgumentError) > from c:/program Do you have the HOME environment variable set? =46rom ri File.expand_path: The given pathname may start with a ``+~+'', which expands to the process owner's home directory (the environment variable +HOME+ must be set correctly). ``+~+_user_'' expands to the named user's home directory.= This is arguably a bug in File.expand_path rather than ZenTest. (On Windows systems, a fallback to ENV['HOME'] should be ENV['HOMEDRIVE'] + ENV['HOMEPATH']. Wonder where you report those. David Vallner --------------enigB2F5C9A6748AB908F45A99BB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFeuq6y6MhrS8astoRAh4EAJ92Zr9HYvG6h1wjApd0dFbf+KEwUACeNAmc SDny87lI8VLrkN6q3bh9pkw= =f393 -----END PGP SIGNATURE----- --------------enigB2F5C9A6748AB908F45A99BB--