From: "Marvin Gülker" Date: 2010-01-10T18:40:09+09:00 Subject: Re: roll back to last command in irb Ruby Newbee wrote: > Hello, > > I'm using ruby under ubuntu Linux, ruby version is 1.9.1 > What the problem is, when using irb I can't roll back the command to > the last one with "up" key in keyboard. > The result as below: > > irb(main):001:0> File.file? "/etc/passwd" > => true > irb(main):002:0> ^[[A # can't roll back here > > Do you know how to configure irb to resolve it? > > Thanks. Did you compile Ruby yourself? If so, install one of the packages libreadline5-dev or libreadline6-dev and then compile again. Marvin -- Posted via http://www.ruby-forum.com/.