Running autotest on Windows XP?

13 views
Skip to first unread message

michau

unread,
Aug 11, 2007, 12:36:01 PM8/11/07
to Ruby on Rails: Talk
Helo, Is it possible to make autotest (from Zentest gem) run on RoR
under Windows XP?
When I'm trying to do it, it throws an error message:
"couldn't find HOME environment -- expanding '~/.autotest' "

On Cygwing it runs OK. But I don't want to use Cygwin as it is much
slower than Windows.

Cheers, michau

Gordon Thiesfeld

unread,
Aug 12, 2007, 10:31:06 AM8/12/07
to Ruby on Rails: Talk

Autotest looks for a .autotest file in the path defined by the HOME
environment variable. You don't necessarily have to have a .autotest
file, but you will need to set the HOME environment variable. I use
%userprofile%.

See this for details on managing env variables in windows.
http://support.microsoft.com/kb/310519

hope it helps,

Gordon

Daniel Sim lind

unread,
Nov 8, 2007, 1:26:57 PM11/8/07
to rubyonra...@googlegroups.com

>> Helo, Is it possible to make autotest (from Zentest gem) run on RoR
>> under Windows XP?
>> When I'm trying to do it, it throws an error message:
>> "couldn't find HOME environment -- expanding '~/.autotest' "

>

> Autotest looks for a .autotest file in the path defined by the HOME
> environment variable. You don't necessarily have to have a .autotest
> file, but you will need to set the HOME environment variable. I use
> %userprofile%.
>
> See this for details on managing env variables in windows.
> http://support.microsoft.com/kb/310519
>

Just wanted to point out for all the future Googlers what it says in
Gordon's MS link: make sure if you're using a console manager such as
Console 2 that you restart it otherwise the HOME environment value
update may not be applied.
--
Posted via http://www.ruby-forum.com/.

Reply all
Reply to author
Forward
0 new messages