Backspace and arrow keys aren't working in IRB(Git Bash console) on windows machine

Vineeth Pradhan picture Vineeth Pradhan · Apr 14, 2011 · Viewed 12.2k times · Source

I just installed ruby 1.9.2 on windows machine and Backspace or any other arrow keys don't work. This happens only when I open IRB on Git Bash console. But it works fine on Windows console. Any help on that?

Note: IRB was working fine on both consoles with the earlier versions of ruby.

Answer

Neno Ganchev picture Neno Ganchev · Nov 8, 2011

Same thing happened to me. Running irb with --noreadline solved my problem:

irb --noreadline