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

前端 未结 8 3131
迷失自我
迷失自我 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 03:56

    UPDATE: Win32Console no longer works with rspec. ANSICON recommended. https://github.com/rspec/rspec-rails/issues/487#issuecomment-3556806

提交回复
热议问题