Arachno gets problem?

I’m trying Arachno as a IDE and it gives me a strange problem with gets.
When I try to run this:
puts gets

I get

…/test.rb:8:in gets': Bad file descriptor (Errno::EBADF) from ........./test.rb:8 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire__’
from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require’
from /home/…/ArachnoRuby//arachno_script_stub.rb:50

Why doe I get a Bad file descriptor for gets?
I do get warnings for my Ruby executable on my Gentoo Linux, it seems
not
compatible with their debugger.

Any ideas on what is going on? The only information I can find is in
Japanese, which unfortunately I can not read.

Bart

Hi Bart,

On 1/24/07, Bart B. [email protected] wrote:

I’m trying Arachno as a IDE and it gives me a strange problem with gets.
When I try to run this:
puts gets

I get

…/test.rb:8:in `gets’: Bad file descriptor (Errno::EBADF)

When running a script in Arachno that reads from stdin, it’s necessary
to do the following:
In the “Run” menu, select “Edit Target” and select the appropriate
target. In the “Ruby Target Properties” dialog that opens, select the
“Program” tab, and check the “Run Script in Interactive Console”
checkbox.

Wayne

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs