MettaProgramming

Thoughts on Software and Technology

RedGreen gem conflicts with Autotest when using RSpec

3 comments

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.

Written by john

February 22nd, 2010 at 3:56 pm

Posted in Ruby

Tagged with , , , ,