And had exactly the same problem. However, running it outside of
ArachnoRuby, simply as a Ruby file (I’m on WinXP), it runs fine. So, I
have a problem with how my IDE is functioning - I’m new to that as well.
I’ll look at that…
t.
On Fri, 30 Dec 2005 01:30:42 -0800, Joe Van D. [email protected]
wrote:
nothing for my print statement - control just passes right past it.
a “Exception: Bad file descriptor” out for “pf = gets”
I don’t understand why either is happening. Can someone clear this up
for
me?
And had exactly the same problem. However, running it outside of
ArachnoRuby, simply as a Ruby file (I’m on WinXP), it runs fine. So, I
have a problem with how my IDE is functioning - I’m new to that as
well. I’ll look at that…
This is probably an issue of buffered IO and / or changed outputs. I’d
try
$stdout.sync = true
$stdout.print "Enter your name: "
name = $stdin.gets
HTH
robert
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.