Psychedelic is an amazing syntax colorizer library that automatically any output in your console. It supports Ruby, Python, Perl, C++, Brainfuck... and any language you know magically.
YOU GOT TO SEE THE COOL SCREENSHOTS ON PSYCHEDELIC HOME PAGE!!
- 0.0.2: First release, 2011/04/01
Execute in your shell: gem install psychedelic
If you are using bundler (ex. rails3), add the following ling into your Gemfile:
gem 'psychedelic'
You can do this in irb and other Ruby programs:
require 'rubygems'
gem 'psychedelic'
require 'psychedelic'