mko mko - 1 year ago 76
Ruby Question

Why does hitting the left arrow in irb give me "^[[D"?

I'm using Ubuntu Server 10 lucid, ruby 1.9.2-p0. In irb, the left arrow shows

. Any idea?

Answer Source

You need to do:

sudo apt-get install libreadline-dev

and then reinstall ruby and irb.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download