Forum: Ruby on Rails Autotest doesn't work on WinXP?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
426035b86dd65d126b3281621560d09d?d=identicon&s=25 Greg Edwards (Guest)
on 2006-05-03 19:02
(Received via mailing list)
When I try to run autotest (zenspider) (which looks VERY cool), I get
this
error:



(run from within a Rails app directory)



C:\ruby_home\analysis>autotest -rails

# Testing updated files

+ c:/ruby/bin/ruby -Ilib:test -e '["test/unit/user_test.rb",
"test/unit/role_test.rb"].each { |f| load f }' | unit_diff -u

'c:' is not recognized as an internal or external command, operable
program
or batch file.



# Test::Unit exited without a parseable failure or error message.

# You probably have a syntax error in your code.

# I'll retry in 10 seconds



Using rake all of the tests pass, but for some reason Autotest can't get
going.



Ideas?



-Greg



Greg Edwards

CTO, Eyetools Inc.

gedwards1@eyetools.com

(916) 792 4538
25e11a00a89683f7e01e425a1a6e305c?d=identicon&s=25 Wilson Bilkovich (Guest)
on 2006-05-03 19:02
(Received via mailing list)
On 5/2/06, Greg Edwards <gedwards1@eyetools.com> wrote:
>
> # You probably have a syntax error in your code.
>
> # I'll retry in 10 seconds
>
> Using rake all of the tests pass, but for some reason Autotest can't get
> going.
>
>

Browse to this folder:
C:\ruby\lib\ruby\gems\1.8\gems\ZenTest-3.2.0\lib

..and replace autotest.rb with the version in the zip file I've
attached to this message.
I had to make a minor change to the "test" and "ruby" methods to make
autotest happy on win32.
I just started using it today, so there may be other incompatibilities
that I haven't run into yet.

The win32 shell has different rules for quoting strings than UNIX-like
systems, unfortunately.

--Wilson.
6559f9b9607a89074ea5e238d31ffbc2?d=identicon&s=25 Kelly Felkins (Guest)
on 2006-07-23 17:18
(Received via mailing list)
Cygwin runs autotest just fine. I now have ruby installed both via the 1
click installer and cygwin. I have the gems installed both ways too. Now
I
can run autotest via cygwin, and the rest of my project is done via the
1
click installer version.

-Kelly
This topic is locked and can not be replied to.