Long story short: I was getting some strange errors when trying to use autotest with a rails app that I’m working on.
Here’s the error I got:
[note: path edited...]/action_web_service/container/action_controller_container.rb:76:in `require_web_service_api’: neither _api or _api found (NameError)
[... lots more output ...]
/usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.2.0/lib/unit_diff.rb:196:in `unit_diff’: undefined method `first’ for nil:NilClass (NoMethodError)
from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.2.0/lib/unit_diff.rb:84:in `unit_diff’
from /usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.2.0/bin/unit_diff:38
from /usr/local/bin/unit_diff:18
# 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
I managed to fix it by rebuilding my entire rails environment using the helpful instructions linked to from the rails site. Thanks Hivelogic!