Arachno gets problem?

B

Bart Braem

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:in
`require__'
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
 
W

Wayne Vucenic

Hi Bart,

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,043
Members
48,769
Latest member
Clifft

Latest Threads

Top