How do I get colour with Windows command prompt using RSpec in Ruby?

前端 未结 8 3135
迷失自我
迷失自我 2021-02-20 03:10

In other o/s RSpec returns nicely coloured results (red, green etc).

However in the windows (Vista) command prompt my text output is just plain old boring white.

8条回答
  •  故里飘歌
    2021-02-20 04:00

    I had to install ansicon, and now everything is fine. (Even in my Aptana terminal).

    Install ansicon description: http://qastuffs.blogspot.com/2011/02/how-to-install-ansicon-for-cucumber-to.html

提交回复
热议问题