How to get irb and rails console to work properly in gitbash?
问题 I'm using gitbash ver 2.9.0, 64-bit, on Windows 7. It uses mintty version 2.0.3. The gitbash shell most of the time seems to work fine. You can use the arrow keys, etc, as with any bash shell and they perform as expected, being able to scroll through prior commands, etc. However, when using irb or rails console (which runs irb ) it is very flakey. Rather than scroll through prior commands, the up arrow just moves the cursor up the screen and enters what are probably up arrow control codes