Tab-Completion and Syntax coloring for irb (Ruby Interpreter)

Wirble is a Ruby Gem that provides Tab-Completion and syntax coloring for the Ruby interpreter, irb. In this article we'll see how to install it and configure it.

irb with Tab-Completion and Syntax coloring
irb with Tab-Completion and Syntax coloring


Open a terminal window and run:

sudo gem install wirble && echo -n "require 'rubygems'\nrequire 'wirble'\nWirble.init\nWirble.colorize" >> ~/.irbrc


Now that Wirble is installed and irbrc is properly configured, (re)open irb and then you can start using the "TAB" key to auto-complete while typing a Ruby instruction. Only the results will be colorized, not the instructions typed.


Wirble: Tab-Completion and Syntax Coloring for irb | Ruby Inside


Popular posts from this blog

Add items to Xfce Applications Menu

[HOW TO] Add Application Launcher to Xfce's Panel

Add application to Xfce/Xubuntu session startup [Xubuntu >= 11.10]