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 wirbleNext, 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.colorizeNow play with irb and see joy similar to that in the screenshot above. Try tab-completion too. It's great!
No comments:
Post a Comment