[rspec-users] Cucumber ENV setting in env.rb

Andrew Premdas apremdas at gmail.com
Thu Jan 22 15:09:47 EST 2009

I never could get Cygwin to display terminal colors in a consistent way.
You'd probably find it easier to install OSX on your laptop!

One thing you could do is try and run an XTerm in cygwin perhaps using a
minimal window manager like ratpoison. This was the best I was able to
manage in getting a decent terminal on windows (Cygwin Ratpoison and
Screen), but in the end I gave up it was just to hard :) and inconsistent.

2009/1/22 James Byrne <lists at ruby-forum.com>

> I develop in a heterogeneous environment.  When I am working with Ruby
> on Rails on my laptop then I am inside the bash shell of cygwin running
> under MS-WinXPpro.
> I also happen to favour a light green on dark green default terminal
> display.  This renders portions of cucumber's output, under its default
> colour scheme, invisible on both Linux and cygwin.  So, I have set up a
> custom ENV setting in support/env.rb.  Thus:
> 'passed=white,bold:passed_param=white,bold,underscore'
> When I run rake features this works exactly as I intended under Linux,
> but seems to have no effect whatsoever under cygwin.  I am working
> around this by manually setting the session environment variable and I
> could make this solution permanent by altering my .bashrc script. I
> nonetheless would like to know why this Ruby setting does not seem to
> work in all cases.  Is there a special syntax for cygwin/windows?  Have
> I missed a step and the fact that Linux turns out as expected simply a
> coincidence?
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090122/4641508c/attachment-0001.html>

More information about the rspec-users mailing list