From: Nathan Sharkey Date: 2010-03-26T19:54:16+09:00 Subject: uninitialized constant CSV::Reader Hi, I've searched google and these forums but can't find anything for this error i get. code in a file called test.rb ----------------------------- require 'csv' CSV::Reader.parse(File.open('stuff.csv', 'rb')) do |row| p row break if !row[0].is_null && row[0].data == 'stop' end ------------------------------ ruby test.rb # gives an error NameError: uninitialized constant CSV::Reader from (irb):8 from /usr/local/bin/irb:12:in `
' i get the same error when trying this in irb any ideas?? Riga -- Posted via http://www.ruby-forum.com/.