From: Tamara Temple Date: 2013-07-07T01:32:39+09:00 Subject: Re: Loading csv giving error On Jul 5, 2013, at 12:39 PM, Nithi anand wrote: > I try your code doesnot work please see my attachment I am using ruby > 2.0 and windows xp > > Attachments: > http://www.ruby-forum.com/attachment/8574/rubytest.jpg > > > -- > Posted via http://www.ruby-forum.com/. > Your problem is exactly this: you gave irb the name of the file of your code, but irb doesn't know what to do with that. If you just want to run the file, give it to ruby instead: C:\> ruby CSV_test.rb You can, as well, load your file into irb to work with: irb(main):001:0> load 'CSV_test.rb'