I’m using Ruby 1.9.2 with Windows XP as host, I ran the command
irb --simple-prompt -rrbconfig
from the command line and got an error stating:
“E:/Ruby192/lib/ruby/site_ruby/1.9.1/rbreadline.rb:2043:in ``’: No such
file or directory - stty -a (Errno::ENOENT)”
I’ve attached the complete error statement along with the post, please
help.
Have you installed cygwin or cygwin installation bundled with E text
editor?
Are you using a normal command prompt?
What is the output of “SET TERM” ?
This has nothing to do with rbconfig but instead if the rb-readline
(pure-ruby readline) component that is bundled with Ruby 1.9.2-p0
provided by RubyInstaller.
The only way for stty be invoked is an incorrect environment variable
or bash/sh installation interfering with rb-readline.
C:\Documents and Settings\Scarlet Pimpernel>ruby -v
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
C:\Documents and Settings\Scarlet Pimpernel>set TERM
TERM=nutc
TERMCAP=E:\RATIONAL\RATION~1\NUTCROOT\etc\termcap
TERMINFO=E:\RATIONAL\RATION~1\NUTCROOT\usr\lib\terminfo
I’m using a normal command prompt and as I’m yet a beginner I do not
know what you mean by: “The only way for stty be invoked is an incorrect
environment variable or bash/sh installation interfering with
rb-readline.”
C:\Documents and Settings\Scarlet Pimpernel>ruby -v
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
C:\Documents and Settings\Scarlet Pimpernel>set TERM
TERM=nutc
TERMCAP=E:\RATIONAL\RATION~1\NUTCROOT\etc\termcap
TERMINFO=E:\RATIONAL\RATION~1\NUTCROOT\usr\lib\terminfo
Can you unset TERM?
I searched a bit looking for what could be considered a “nutc”
terminal option and nothing was found. Also dunno what could have set
that for you.
As I indicated in the ticket, please unset it:
SET TERM=
And try again.
I’m using a normal command prompt and as I’m yet a beginner I do not
know what you mean by: “The only way for stty be invoked is an incorrect
environment variable or bash/sh installation interfering with
rb-readline.”
stty is a utility in *nix systems used to determine terminal
capabilities. Due the weird terminal setting you have, it is trying to
use stty which is not found.
I mentioned that a cygwin installation or something is interfering in
your system, which with the above that you provided proven correct.
On Oct 18, 1:45pm, “Sandeep K.” [email protected] wrote:
I searched a bit looking for what could be considered a “nutc”
know what you mean by: "The only way for stty be invoked is an incorrect
It seems that the rbreadline.rb distributed with rubyinstaller 1.9.2
is not a bug fixed version.
Park, do you consider current rb-readline is candidate for a release?
That way I can provide packages and installation instructions to
users.