Open luislavena opened 13 years ago
According to the docs, -S is mostly to allow platforms that don't support the shebang-style script header to emulate it
Since irb is #!/usr/bin/env ruby, could it be that Git bash under Windows doesn't support #! (shebang)?
As reported in RubyInstaller list:
http://groups.google.com/group/rubyinstaller/browse_thread/thread/1e0b303b3d53f9e1
Seems that starting scripts with env shebang is breaking RbReadline support.
As workaround, starting the script with
ruby -S irb
seems to solve the issue.