RSpec output on Windows: Install ANSICON to have colors
Install ANSICON
If you're seeing funny ANSI characters instead of colors in your Windows command prompt window, a quick solution is to install
ANSICON
. Here's how to do that:
Download the latest version of ANSICON.
Unzip the downloaded file.
Change directory into either the x64 directory (for a 64-bit OS) or the x86 directory (for a 32-bit OS) of the directory you got when you unzipped the downloaded file. To determine which version you're running, follow these steps.
Windows 8: Some folks on Windows 8 have reported that they needed to download a new 64-bit DLL, as described here.
While inside that directory, run the following command:
ansicon -i
Now try running
ri
, and you should see colors rather than ANSI character
last updated october 2016