There is a patch in the queue for that. Didn't had time to release a new
version. dunno if your solution will work. Will check soon, but guess is
already too late.
Sent from mobile.
On Oct 12, 2009 8:40 PM, "aslak hellesoy" <aslak.helle...@gmail.com> wrote:
Windows users who want cucumber colours have to install the
win32console gem. This is a gem with some native C code that enables
coulours (since Windows doesn't grok ANSI colours).
It turns out this gem is broken on ruby 1.9.1, and I'm not sure when
it will be fixed.
(https://rspec.lighthouseapp.com/projects/16211-cucumber/tickets/354)
The win32gem doesn't work at all on JRuby on Windows, so in order to
bring colours to this camp I wrote wac today:
http://github.com/aslakhellesoy/wac
(No idea why nobody wrote a tool like that before).
Wac would work just as well with MRI/Windows as for JRuby/Windows. (In
fact it works with anything that prints ANSI colors on windows - it's
just piped to).
So I'd like to get rid of the dependency on win32color and just tell
all Windows users to use wac instead. The downside:
Windows users have to append | wac to all commands.
The upside? Simpler Cucumber code and less bugs/issues.
WDYT?
Aslak