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?
Thanks
--
Posted via http://www.ruby-forum.com/.
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