[rspec-users] how do i get color with autotest on XP?

Spencer Roan lists at ruby-forum.com
Fri Feb 29 18:15:40 EST 2008

when i run "rake spec" i get color, if have --colour in spec.opts.

when i run autotest the output isn't displayed(i can tell the tests have
run thanks to snarl), unless i get rid of --colour. however, now the
output is plain-jane white!

adding require 'autotest/redgreen' to .autotest seems to have no effect.

when i run "ruby -S script/spec -O spec/spec.opts
spec/models/user_spec.rb(which is what is echoed when i run autotest), i
also get color only if --colour is in spec.opts

any thoughts would be appreciated

XP sp2
ruby 1.8.6
rails 2.02

gems that i think are of relevance:
diff-lcs 1.1.2
redgreen 1.2.2
rspec 1.1.3
ruby-snarl 0.0.8
win32console 1.0.8
ZenTest 3.9.1

plugins: (i'm not sure how to check versions for these, but they are the
newest stable versions)
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list