SciTE anomaly

Steven Friedrich freebsd at insightbb.com
Sun Sep 13 02:04:18 UTC 2009


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


More information about the freebsd-questions mailing list