From: "Michael R." Date: 2010-02-03T02:09:02+09:00 Subject: Re: Errno::ENOENT: No such file or directory - --readline Roger Pack wrote: > >> Any call to 'gets' results in the error, below, (I also pasted version >> info) >> >> $ irb --simple-prompt >>>> person = gets >> Errno::ENOENT: No such file or directory - --readline > > Do you get this if you have gets just in a file (like yo.rb)? > -r Good call... It appears to work that way!?! What does that mean? $ vi yo.rb $ cat yo.rb #!/usr/bin/ruby -w puts 'Try plain old gets' input = gets puts "Got #{input}" $ chmod 755 yo.rb $ yo.rb Try plain old gets hello Got hello -- Posted via http://www.ruby-forum.com/.