In Git Bash on Windows 7, Colors display as code when running Cucumber or rspec

后端 未结 7 1910
予麋鹿
予麋鹿 2020-12-10 04:44

In Git Bash on Windows 7, I occasionally have something happen that causes the color coding to fail when running cucumber scenarios or rspec specs.

Occasionally, it

相关标签:
7条回答
  • 2020-12-10 05:33

    Richard's suggestions, even in cmd.exe (not PowerShell), worked for me.

    I'm running: Windows 7 (64-bit) and Git-Bash: GNU bash, version 3.1.23(6)-release (i686-pc-msys)

    I had to change the PAGER location to match my system.

    export PAGER='"C:\Program Files (x86)\Git\bin\less.exe"'
    
    0 讨论(0)
提交回复
热议问题