From: Rob Biedenharn Date: 2008-10-10T04:37:03+09:00 Subject: Re: "print" not showing immediately in output, but "puts" is On Oct 9, 2008, at 3:28 PM, Aryk Grosz wrote: > Several times I have come across this issue. It seems to be > dependent on > the environment, but I'll do a "print 'string'" and it wont show up > UNTIL I do a "puts". Then both strings will show up in the output > window > in one shot. > > Do you know how I can fix it to work properly? It's your terminal doing line buffering on the output. Try: $stdout.flush = true Then see how it works for you. -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com