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

2009-01-23 Thread James Byrne
Andrew Premdas wrote: > Have you tried setting the CUCUMBER_COLORS environment variable in your > bash config on cygwin? James Byrne wrote: > I am working around this by manually setting the session environment > variable and I could make this solution permanent by altering > my .bashrc script.

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

2009-01-23 Thread Andrew Premdas
Have you tried setting the CUCUMBER_COLORS environment variable in your bash config on cygwin? 2009/1/23 James Byrne > My original observation wrt this problem was inaccurate. The same > behaviour is evidenced in both my Linux and cygwin environments. > Setting the environment variable "CUCUMB

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

2009-01-23 Thread aslak hellesoy
On Fri, Jan 23, 2009 at 3:40 PM, James Byrne wrote: > Josh Chisholm wrote: > > We are setting environment variables in our Rakefile. We have various > > tasks that set up environment variables, then call the cucumber task. > > That's working for us under windows. > > Yes that makes sense. Referri

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

2009-01-23 Thread James Byrne
Josh Chisholm wrote: > We are setting environment variables in our Rakefile. We have various > tasks that set up environment variables, then call the cucumber task. > That's working for us under windows. Yes that makes sense. Referring to the Pickaxe book one reads that: "A Ruby program may write

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

2009-01-23 Thread aslak hellesoy
On Fri, Jan 23, 2009 at 3:20 PM, James Byrne wrote: > My original observation wrt this problem was inaccurate. The same > behaviour is evidenced in both my Linux and cygwin environments. > Setting the environment variable "CUCUMBER_COLORS" in support/env.rb run > does not alter the behaviour of

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

2009-01-23 Thread James Byrne
My original observation wrt this problem was inaccurate. The same behaviour is evidenced in both my Linux and cygwin environments. Setting the environment variable "CUCUMBER_COLORS" in support/env.rb run does not alter the behaviour of that run. As one expects, any environment variable set wit

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

2009-01-23 Thread Luis Lavena
On Fri, Jan 23, 2009 at 8:47 AM, Andrew Premdas wrote: > Luis > > Not quite sure that your criticism is of my post is justified. At no point > did I say that James should give up on Windows nor give up on Cygwin, only > that it is very difficult to get the terminal colors to work exactly how you >

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

2009-01-23 Thread Josh Chisholm
We are setting environment variables in our Rakefile. We have various tasks that set up environment variables, then call the cucumber task. That's working for us under windows. On Thu, Jan 22, 2009 at 7:21 PM, James Byrne wrote: > James Byrne wrote: > >> >> When I run rake features this works exa

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

2009-01-23 Thread Andrew Premdas
Luis Not quite sure that your criticism is of my post is justified. At no point did I say that James should give up on Windows nor give up on Cygwin, only that it is very difficult to get the terminal colors to work exactly how you want in that environment. This is based on considerable experience

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

2009-01-22 Thread James Byrne
Aslak Hellesøy wrote: > On Thu, Jan 22, 2009 at 10:15 PM, > >> Luis Lavena wrote: >> >> > >> > James: can you tell us if you're using cygwin ruby or native one? >> > >> >> I am not sure. I installed cygwin after I had Ruby on that box. >> > > Than you have a native one. Run ruby --version to be

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

2009-01-22 Thread aslak hellesoy
On Thu, Jan 22, 2009 at 10:15 PM, James Byrne wrote: > Luis Lavena wrote: > > > > > James: can you tell us if you're using cygwin ruby or native one? > > > > I am not sure. I installed cygwin after I had Ruby on that box. > Than you have a native one. Run ruby --version to be sure. What does it

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

2009-01-22 Thread James Byrne
Luis Lavena wrote: > > James: can you tell us if you're using cygwin ruby or native one? > I am not sure. I installed cygwin after I had Ruby on that box. -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.

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

2009-01-22 Thread Luis Lavena
On Thu, Jan 22, 2009 at 6:09 PM, Andrew Premdas wrote: > 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! > http://rubyonwindows.blogspot.com/2009/01/amen-brother.html > One thing you could do is try and run a

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

2009-01-22 Thread Andrew Premdas
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

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

2009-01-22 Thread Luis Lavena
On Thu, Jan 22, 2009 at 1:38 PM, James Byrne wrote: > 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 > dis

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

2009-01-22 Thread James Byrne
James Byrne wrote: > > When I run rake features this works exactly as I intended under Linux, Evidently not. Setting the ENV inside env.rb does not influence the rake task display at all. It seems that I must set it externally to cucumber to have effect. -- Posted via http://www.ruby-for

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

2009-01-22 Thread James Byrne
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 def