I'm using Ubuntu Server 10 lucid, ruby 1.9.2-p0. In irb, the left arrow shows ^[[D. Any idea?
^[[D
You need to do:
sudo apt-get install libreadline-dev
and then reinstall ruby and irb.