From: Luis Lavena Date: 2010-10-18T06:40:13+09:00 Subject: Re: unable to preload "rbconfig" in my irb session On Oct 17, 5:58 am, "Sandeep K." wrote: > 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. I'm not able to recreate this: C:\Users\Luis>ruby -v ruby 1.9.2p0 (2010-08-18) [i386-mingw32] C:\Users\Luis>set TERM Environment variable TERM not defined C:\Users\Luis>irb --simple-prompt -rrbconfig >> Please provide that information and also open a bug report in rb- readline issue tracker: http://github.com/luislavena/rb-readline/issues -- Luis Lavena