Switch to inspect mode on GitBash in Windows, in last few days when I replace my computer after that I was installed all development tools newly as like IDE & other development software like Ruby, Python, Wamp, GitBash etc…
After that, while I trying to connect Ruby Interpreter like
IRB then always showing
Switch to inspect mode & that’s very weird while you have to teach other people & screening with code.
I searched over the Google for that & not found any satisfied reason why happening that actually.
After searching a lot I found a temporary solution on Stack Overflow the solution is very simple like below
$ alias irb='winpty "$(which irb).cmd"'
here is my command prompt
the problem is here this solution work for one session that’s mean you need to run this command on every new prompt.