Wayne Vucenic
1/27/2007 7:02:00 PM
Hi Bart,
On 1/24/07, Bart Braem <bart.braem@gmail.com> 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
-----
Wayne Vucenic
No Bugs Software
Ruby, C#, and Erlang Agile Contract Programming in Silicon Valley