I keep running into this error "(Errno::ENOENT)" when using csv.rb.
I'm not sure what this error means, and I'm wondering if I'm missing
something obvious. This example from p. 241 of _The Ruby Way_ causes
the following output given:
1) a file named data.csv which reads:
"name","age","salary"
"mark",29,34500
"joe",42,32000
"fred",22,22000
"jake",25,24000
"don",32,52000

2) and the Ruby from the example is this:
require 'csv'

IO.foreach("data.csv") {|f| p CSV::parse(f.chomp) }


The output is this:
c:/ruby/lib/ruby/1.8/csv.rb:228:in `initialize': Invalid argument -
"name","age"
,"salary" (Errno::EINVAL)
        from c:/ruby/lib/ruby/1.8/csv.rb:228:in `open'
        from c:/ruby/lib/ruby/1.8/csv.rb:228:in `open_reader'
        from c:/ruby/lib/ruby/1.8/csv.rb:217:in `parse'

Am I missing something obvious? I am using Windows 2000 and Ruby v.
1.8.1-11

Thanks;

-Jonathan