On Fri, Jul 23, 2010 at 3:43 PM, Luis Lavena <luislavena / gmail.com> wrote:
>
>
> But Windows result on IOError:
>
>>ruby -v t.rb
> ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-mingw32]
> t.rb:6:in `write': not opened for writing (IOError)
> =A0 =A0 =A0 =A0from t.rb:6:in `print'
> =A0 =A0 =A0 =A0from t.rb:6

I would like to add that for JRuby, this works:

>jruby -v t.rb
jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06 f3a3480) (Java
HotSpot(TM) Client VM 1.6.0_18) [x86-java]
true

--=20
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exup=E9ry