From: Kero Date: 2005-11-22T17:42:24+09:00 Subject: Re: Command buffer in irb On 2005-11-22, Eric Hodel wrote: > On Nov 21, 2005, at 10:32 PM, Todd wrote: > >> So I decided to try out Ubuntu on a different partition. I built Ruby >> 1.8.3, and now in irb I can't hit the up arrow to bring up my last >> command(s). Is there a way to set this up? I'm asking because I'm a >> terrible typist and require this much-needed tool (crutch). > > Sounds like you're missing libreadline Look in ext/readline/mkmf.log to see why Ruby misses it. Usually headerfiles are not found. Can't imagine Ubuntu doing something special with them, tho. Doing require 'readline' in Ruby may also tell you something extra. On the command line ldd /path/to/local/ruby/i?86-linux/readline.so might help you. Finally, check whether you are running the Ruby you think you are running, type -a ruby and ruby -v for all of them if it's more than one. Hth, Kero.