I'm using a helper script to execute rspec
tests.
command = "rake spec #{path} #{scope}"
output = `#{command}`
puts output
This works fine, except that I lose all the colors from the rake rspec
output. The appropriate ANSI codes do not appear to be contained within the output
string.
How can I execute a process so that it returns output which includes the text color?