Win32console problem


I looked around and couldn’t find a topic on this, but if I missed it,
please refer me to the topic location.

I am very new to ruby, so this is probably a simple question.

Here is my code:

begin require 'rubygems' rescue LoadError end

require ‘win32console’
require ‘term/ansicolor’

include Win32::Console::ANSI

class String
include Term::ANSIColor

Win32Console.background_color :red

My the result I get is " uninitialized constant Win32Console
(NameError)". What am I doing wrong?