From: Oliver Cromm Date: 2008-05-15T07:10:06+09:00 Subject: Rio/CVS tells me: undefined method '>' Rio with CVS didn't work as expected on my data, so I tried the examples given at I ran into the same problem. What's wrong? Does this work for anybody else? | $ irb | irb(main):001:0> require 'rio' | => true | irb(main):002:0> rio('f.csv').puts!(["h0,h1","f0,f1"]) | => # | irb(main):003:0> rio('f.csv').csv.records[] | => [["h0", "h1"], ["f0", "f1"]] | irb(main):004:0> rio('f.csv').csv[0] > rio('out').csv | NoMethodError: undefined method `>' for [["h0", "h1"]]:Array | from (irb):4 The following works correctly, though: rio('f.csv').csv > rio('out').csv Updating rio didn't help me. I'm at ruby 1.8.6 and rio 0.4.1 on cygwin. I'll try to repeat on my FreeBSD server ... actually got around to fixing the broken Ruby there and got the same response for rio, so it's not a cygwin thing. -- Bill Gates working as a waiter: - Waiter, there's a fly in my soup - Try again, maybe it won't be there this time