Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RSpec Git Bash Windows -- missing color?

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?

like image 432
Kvass Avatar asked Jun 12 '11 19:06

Kvass


1 Answers

This blog is very good with showing how to do ansicon. http://thehumblecto.blogspot.com/2012/06/rspec-color-output-in-windows.html

like image 152
Douglas G. Allen Avatar answered Sep 27 '22 16:09

Douglas G. Allen