If I create a new Rails (3.2.12) app. Add the test-unit
gem to my development, test group, and then scaffolded resource. When I run the tests from the Mac console.app, I get color output.
bundle exec rake test
When I create a tmux session (in console.app) for the app and run the exact same command. I don't get color output. However if I pass the "--use-color" switch, then I do get color output for the tests in tmux.
bundle exec rake test TESTOPTS="--use-color"
I'm setting 256 colors in my tmux.config
with set -g default-terminal "screen-256color"
. Any idea why I don't get color in tmux when I run the rake task without the TESTOPTS?