• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28

Needless to say, we can't live without irb.
Although it is already incredibly useful,
I had a desire to improve it...

like this:

ss

This is the
irb_rocket
that I've made.
It makes irb into being as follows

  • Result follows blue #=> after your input.
  • It also be colored by Wirble.
  • Output of stderr is colored to red.

INSTALL

You must install
Wirble
and
ruby-terminfo
in advance.
And then, you can install the plugin like this:

pre>>
% sudo gem install irb_rocket --source http://merbi.st
<<--

After that, the last task is append 2 lines below to your ~/.irbrc

ruby>>
require 'rubygems'
require 'irb_rocket'
<<--

Completed!
Now you can use new irb as always.

posted by takiuchi takiuchi on Sun 8 Feb 2009 at 17:15 with 4 comments