lib/spec/runner/options.rb in dchelimsky-rspec-1.1.99.8 vs lib/spec/runner/options.rb in dchelimsky-rspec-1.1.99.9
- old
+ new
@@ -140,10 +140,9 @@
def colour=(colour)
@colour = colour
if @colour && RUBY_PLATFORM =~ /mswin|mingw/ ;\
begin ;\
replace_output = @output_stream.equal?($stdout) ;\
- require 'rubygems' ;\
require 'Win32/Console/ANSI' ;\
@output_stream = $stdout if replace_output ;\
rescue LoadError ;\
warn "You must 'gem install win32console' to use colour on Windows" ;\
@colour = false ;\