title: Why does Ruby's Win32Console not work for me with Ramaze?
body: <p>I have installed Ramaze (on Windows XP) and it suggested I also install win32console to get coloured log output when it is running.</p>
  
  <p>However, after doing so I get escape codes rather than colours as shown below:</p>
  
  <pre><code>W [2009-04-29 09:02:55 $5064]  WARN | : ←[33mNo explicit root folder found, assuming it is C:/Projects/Ruby/Ramaze/Conferences←[0m
  D [2009-04-29 09:02:55 $5064] DEBUG | : ←[34mUsing webrick←[0m
  I [2009-04-29 09:02:55 $5064]  INFO | : ←[37mWEBrick 1.3.1←[0m
  I [2009-04-29 09:02:55 $5064]  INFO | : ←[37mruby 1.8.6 (2008-08-11) [i386-mswin32]←[0m
  D [2009-04-29 09:02:55 $5064] DEBUG | : ←[34mTCPServer.new(0.0.0.0, 7000)←[0m
  D [2009-04-29 09:02:55 $5064] DEBUG | : ←[34mRack::Handler::WEBrick is mounted on /.←[0m
  I [2009-04-29 09:02:55 $5064]  INFO | : ←[37mWEBrick::HTTPServer#start: pid=5064 port=7000←[0m
  </code></pre>
  
  <p>This happens even on a clean install of Ruby/Ramaze/win32console</p>
  
  <p>My setup is:</p>
  
  <ul>
  <li>Windows XP with SP#3</li>
  <li>ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]</li>
  <li>rubygems version 1.3.1</li>
  <li>win32console gem version 1.2.0</li>
  </ul>
  
  <p>Incidentally, the following test program seems to work so I am wondering if it is a Ramaze/win32console issue on my machine.</p>
  
  <pre><code>#!/usr/bin/ruby
  require 'rubygems'
  require 'win32console'
  
  [0, 1, 4, 5, 7].each do |attr|
    puts '----------------------------------------------------------------'
    puts "ESC[#{attr};Foreground;Background"
    30.upto(37) do |fg|
      40.upto(47) do |bg|
        print "\033[#{attr};#{fg};#{bg}m #{fg};#{bg}  "
      end
    puts "\033[0m"
    end
  end
  </code></pre>