Forum: Ruby on Rails parseexcel problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Me (Guest)
on 2009-01-12 20:05
(Received via mailing list)
I am running rails 2.2 and gem 1.3.1

I have this basic code:

equire 'rubygems'
require 'parseexcel'
workbook = Spreadsheet::ParseExcel.parse()

I get this error:

./parseexcel.rb:4: uninitialized constant Spreadsheet (NameError)

any ideas?
Mohammad K. (Guest)
on 2009-01-12 20:27
(Received via mailing list)
what version of parseexcel you are using
Me (Guest)
on 2009-01-12 20:32
(Received via mailing list)
Mohammad K. (Guest)
on 2009-01-12 21:02
(Received via mailing list)
try to use spreadsheet-

This might help to resolve the issue.
Though, their product name, class and module names are not consistent in
different versions.

This topic is locked and can not be replied to.