First install these two stones:
gem install win32console gem install wirble
Then in the irb console do:
require 'win32console' include Win32::Console::ANSI require 'wirble' Wirble.init Wirble.colorize
Your entry will look like this:
"foo".capitalize => "Foo"
(Foo is now blue on my screen)
PS If you want irb to always start with these settings, just put the above code into the ".irbrc" file in your home directory.
source share