[rspec-users] Windows rspec "gem install win32console"
dchelimsky at gmail.com
Tue Mar 6 08:19:24 EST 2007
On 3/6/07, johnnybutler7 <JohnnyButler7 at gmail.com> wrote:
> Hi I am trying to use RSPEC on windows and i keep getting the following
> "You must gem install win32console to use colour on Windows"
> I have installed this Gem but i am still getting the same error. The
> file that error is coming from is:
That line reads as follows:
begin ; require 'Win32/Console/ANSI' if @colour && PLATFORM =~ /win32/
; rescue LoadError ; raise "You must gem install win32console to use
colour on Windows" ; end
So it seems odd that your rspec was complaining even after you
installed the plugin. There are people are using rspec on windows w/
some success, so I'm not convinced the problem is in rspec alone - it
seems to be in rspec in conjunction w/ your particular system.
Any chance you recently upgraded to Vista? Maybe the environment
variables have changed?
> Do i need to put this line of code in? Where do i put it?
> require 'Win32/Console/ANSI'
> Can anyone help me, ive searched the web but cant seem to find a
> View this message in context: http://www.nabble.com/Windows-rspec-%22gem-install-win32console%22-tf3354239.html#a9328370
> Sent from the rspec-users mailing list archive at Nabble.com.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users