I am using Git Bash on Windows for most of my Rails work and every time I run bundle exec rspec spec
it alerts me "You must gem install win32console
to use color on Windows," and then runs RSpec in plain black and white. Yet I did install win32console, and when I run gem list
on the list it has win32console (1.3.0 x86-mingw32)
. RSpec works fine, but I would love it to have some color. I google searched this and found multiple solutions but none seem to work for me. Can someone please write out a "step-by-step" approach to getting color with RSpec on Git Bash for Windows?
This blog is very good with showing how to do ansicon. http://thehumblecto.blogspot.com/2012/06/rspec-color-output-in-windows.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With