[rspec-users] Color output in pagers

P. A.
2009-12-02T16:12:21Z

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?