From 38ff0b79295d2b9a5fd2b0453da2038d39a1d866 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sun, 10 Jan 2010 10:51:43 -0800 Subject: [PATCH] Make ANSI color output work on windows. Closes GH-64. --- lib/compass/exec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/compass/exec.rb b/lib/compass/exec.rb index 2547d376..664db9d4 100644 --- a/lib/compass/exec.rb +++ b/lib/compass/exec.rb @@ -5,6 +5,8 @@ require 'compass/errors' require 'compass/actions' require 'compass/installers' require 'compass/commands' +require 'rbconfig' +require 'win32console' if RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ module Compass::Exec end