If you’re trying to use RSpec with Autotest in a Rails app, and get a strange error:
invalid option: --autospec Test::Unit automatic runner. Usage: -e [options] [-- untouched arguments]
Check whether you’re using the RedGreen colorizing gem. It seems that this conflicts somehow with the setup. The good thing is that I can turn that off and still work well since I have the autotest-growl plugin installed, so I see Growl notifications of my tests.
Hope this helps someone’s frustrated Google results.
You should check your ~/.autotest and remove require 'redgreen/autotest' from it to get rid of this error.
I guess I should've been more explicit in my post, but yes, the point of the post was that removing RedGreen from autotest's config file would fix it. I didn't think about the need to explicitly detail the step on *how* to turn it off, but your comment will help clear up that question for others who may have it. Thanks, Lenart.
Right on, thank you!