Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2009 22:04:11 -0400
From:      Steven Friedrich <freebsd@insightbb.com>
To:        questions@freebsd.org
Subject:   SciTE anomaly
Message-ID:  <200909122204.11782.freebsd@insightbb.com>

next in thread | raw e-mail | index | archive | help
I'm running FreeBSD 7.2p3, KDE 4.3.1

I added scite port.

When I GO (F5), the following ruby program issues an error and fails to work 
properly:
puts "Hello, world. What is your name?"
myname = gets()
puts "Well, hello there " + myname + "."

Here is the output:
>ruby hello.rb
hello.rb:2:in `gets': Bad file descriptor (Errno::EBADF)
	from hello.rb:2
Hello, world. What is your name?
>Exit code: 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909122204.11782.freebsd>