That worked perfectly fine until I installed redgreen to highlight my successes and failures. Now less ends up escaping all of the color codes and I'm left with a messy screen of numbers and reversed colors.
ruby test.rb | less
Shouldn't less default to displaying color codes? Alias that!
ruby test.rb | less -R