From: "Guru I." Date: 2010-12-13T12:47:47+09:00 Subject: Re: ruby1.9.2 looking for Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/csv.rb:312 i came across this forum http://www.ruby-forum.com/topic/206773 but i still dont get what I have to use. Also I thought it might help to provide my code here #!/usr/bin/ruby require 'csv' require 'books_v2' #require_relative 'books_v2' class CsvReader def initialize @books_in_stock = [] end def read_in_csv_data(cvs_file_name) CSV.foreach( cvs_file_name, :headers => true ) do |row| @books_in_stock << BooksInStock.new(row["ISBN"], row["Amount"]) end end def total_value_in_stock sum = 0.0 @books_in_stock.each {|book| sum += book.price} sum end end And I get error @ line "@book_in_stock<<....." -- Posted via http://www.ruby-forum.com/.