From: Stefan Mahlitz Date: 2007-08-16T07:41:19+09:00 Subject: Re: Ruport::DataSet unitialized constant? Michael Linfield wrote: > even runnin the simplest program such as this - > > require "rubygems" > require "ruport" > require "ruport/util" > > stuff = Ruport::DataSet.load("filename.csv") > > ### > > gives me the error of uninitialized constant Ruport::DataSet > (NameError) > > any idea why it cant find it even though ive doin all the -- gem install > ruport -y -- and what not? Well - Ruport::DataSet does not exist - take a look at http://api.rubyreports.org/classes/Ruport/Data/Table/FromCSV.html You may want to use stuff = Ruport::Data::Table.load("filename.csv") HTH Stefan