# Rio/CVS tells me: undefined method '\>'

**URL:** <https://www.ruby-forum.com/t/rio-cvs-tells-me-undefined-method/137647>\
**Category:** Ruby\
**Created:** [May 15, 2008, 12:10am UTC](https://www.ruby-forum.com/t/rio-cvs-tells-me-undefined-method/137647 "2008-05-15T00:10:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![olicat](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/a8b319/32.png) [@olicat](https://www.ruby-forum.com/u/olicat)\
**Post date:** [May 15, 2008, 12:10am UTC](https://www.ruby-forum.com/t/rio-cvs-tells-me-undefined-method/137647/1 "2008-05-15T00:10:31Z")

</div>

Rio with CVS didn’t work as expected on my data, so I tried the examples  
given at [http://rio.rubyforge.org/classes/RIO/Doc/INTRO.html](http://rio.rubyforge.org/classes/RIO/Doc/INTRO.html)

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”])  
| =\> #\<Rio:0x3ff2d5ac:“path:f.csv” (Stream::Reset)\>  
| 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.
