If I create a new Rails application (3.2.12). Add the test-unit stone to my development, test group, and then to the forest resource. When I run tests with Mac console.app, I get color output.
bundle exec rake test
When I create a tmux session (in console.app) for the application and run the same command. I do not get color rendering. However, if I pass the "useuse" switch, then I get the color output for tests in tmux.
bundle exec rake test TESTOPTS="--use-color"
I set 256 colors in tmux.config with set -g default-terminal "screen-256color" . Any idea why I don't get the color in tmux when I run the rake command without TESTOPTS?
ruby-on-rails tmux testunit
caspyin
source share