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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060502/70228ad8/attachment.html
On 5/2/06, Greg Edwards <gedwards1@eyetools.com> wrote:> > 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. > >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. -------------- next part -------------- A non-text attachment was scrubbed... Name: win32_compatible_copy_of_autotest.zip Type: application/zip Size: 3649 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060502/5bb33bc8/win32_compatible_copy_of_autotest.zip
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 On 5/2/06, Wilson Bilkovich <wilsonb@gmail.com> wrote:> > On 5/2/06, Greg Edwards <gedwards1@eyetools.com> wrote: > > > > 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. > > > > > > 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. > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060723/ae831ee7/attachment.html