On Jul 5, 2013, at 12:39 PM, Nithi anand <lists / ruby-forum.com> wrote:

> I try your code doesnot work please see my attachment I am using ruby
> 2.0 and windows xp
>=20
> Attachments:
> http://www.ruby-forum.com/attachment/8574/rubytest.jpg
>=20
>=20
> --=20
> Posted via http://www.ruby-forum.com/.
>=20

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'