Thoughts on Software and Technology

RedGreen gem conflicts with Autotest when using RSpec

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.


No Comment

I've turned off comments on this blog. You can read all about that decision on Google+. I'm available at Google+ and Twitter for continued communication.
Powered by WordPress | Designed by Elegant Themes