Apologies if this question is answered elsewhere, I’m very new to Ruby
and JRuby.
In JRuby 1.6.0.RC1 in both 1.8 and 1.9 modes something like:
Kernel.system( “echo xxx”, :out => “fred.txt”)
does not for me result in “xxx” being written to a file “fred.txt”.
The :out => does stop “xxx” appearing on STDOUT, but it doesn’t go to
a file. Is this a limitation of JRuby? This works in Ruby.