Why "system" command does not read Ruby output file?

I recommend these articles.

# get strings or not
http://www.ruby-doc.org/core-1.9.3/Kernel.html#method-i-60
http://www.ruby-doc.org/core-1.9.3/Kernel.html#method-i-system

# output it
http://www.ruby-doc.org/core-1.9.3/Kernel.html#method-i-print
http://www.ruby-doc.org/core-1.9.3/Kernel.html#method-i-puts

···

--
Posted via http://www.ruby-forum.com/.