Make irb Do Tab Completion

Posted by hardwarehank, Wed Jul 05 17:03:54 UTC 2006

I was missing readline. The sadness. Thanks to these guys, i fixed it. Here’s how to do it on FC5:


sudo yum install ncurses-devel readline-devel
cd ruby-1.8.4/ext/readline
ruby extconf.rb
make
sudo make install

Tags:

Comments

  • photo of Hank Hank
    July 13, 2006 @ 10:19 PM
    Also works on Ubuntu Dapper with these small modifications:
    
    sudo apt-get install libncurses5-dev libreadline5-dev
    

Have your say

A name is required. You may use Markdown in your comments.