[rspec-users] Color output in pagers
P. A.
lists at ruby-forum.com
Wed Dec 2 11:12:21 EST 2009
I've known about the -R option but it doesn't work for me.
$ cucumber #=> color output
$ cucumber | less -R #=> monochrome
$ spec -c <path/to/spec> #=> color output
$ spec -c <path/to/spec> | less -R #=> monochrome
but
$ ls --color=always | less -R #=> color output
It seems that your system has addition preferences that enables you to
pipe the color tags in output to less. Could you tell me how did you
achive it?
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list