Wednesday, November 24, 2010

Wirble: Tab-Completion and Syntax Coloring for irb

Wirble
If you haven't got tab-completion and syntax coloring in your irb, you owe it to yourself to follow these instructions right away (should work for Linux, OS X, and Cygwin users). First, install the Wirble gem:
sudo gem install wirble
Next, create or edit a file called .irbrc in your home folder (~/.irbrc), and make sure these lines are included there:
require 'rubygems'
require 'wirble'
Wirble.init
Wirble.colorize
Now play with irb and see joy similar to that in the screenshot above. Try tab-completion too. It's great!

No comments: