Sy,

On 4/12/06, Sy Ali <sy1234 / gmail.com> wrote:
> http://term-ansicolor.rubyforge.org/
>
> I did a successful gem install of term-ansicolor and am trying to use it:
>
>   include Term::ANSIColor
>   print red, bold, "red bold", reset, "\n"
>
> gives me:
>
>   uninitialized constant Term
>
>
> I tried all kinds of variations, found some code where other people
> used this and tried all that out.  No luck.
>
> Is this a problem with my Ruby or gems installation?


make sure you require the correct library (you might need to require
'rubygems' first)

require "lib/term/ansicolor"

(why the maintainer chose to put the lib/ prefix, I don't really know)

Cameron