Does adding the following to the start of your script help?

	$stdout.sync=true
	$stderr.sync=true

Regards,
Stu

-----Original Message-----
From: James F. Hranicky [mailto:jfh / cise.ufl.edu] 
Sent: 26 May 2006 16:37
To: ruby-talk ML
Cc: Yochen Gutmann
Subject: Re: Input before Output in Eclipse

On Friday 26 May 2006 11:30, Yochen Gutmann wrote:

> Thank you for your fast response.
>
> Well, I thought of output buffering, too and tries puts. But still:
> wrong order...To me it seems an Eclipse console problem..
>
> Any other suggestion?

Interesting -- unfortunately I don't have any experience with the
eclipse
console, so if it's not working like a regular shell I wouldn't know
why,
sorry.

Jim



<body>

<blockquote>
<font FACE="Arial,Arial" SIZE="1"><p ALIGN="JUSTIFY">This Email may contain confidential and privileged information and is intended for the use of the addressee(s) only.   If you are not the intended recipient please notify the sender and delete the Email from your system. It should not be transmitted to any other person without the consent of the sender. Additional important notifications regarding Email transmissions from and to members of Baring Asset Management can be accessed at http://www.barings.com/email/index.hcst</font></p></body>
</p>
</font>
</blockquote>

<p>&nbsp;</p>
</body>
</html>