Forum: Ruby on Rails parseexcel problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8133ee52ca72188132b5c7d97dfb967f?d=identicon&s=25 Me (Guest)
on 2009-01-12 19: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?
8c786b59665b31d9e43da6c5e6315a4d?d=identicon&s=25 Mohammad Khan (Guest)
on 2009-01-12 19:27
(Received via mailing list)
what version of parseexcel you are using
8133ee52ca72188132b5c7d97dfb967f?d=identicon&s=25 Me (Guest)
on 2009-01-12 19:32
(Received via mailing list)
0.5.2
8c786b59665b31d9e43da6c5e6315a4d?d=identicon&s=25 Mohammad Khan (Guest)
on 2009-01-12 20:02
(Received via mailing list)
try to use spreadsheet-0.6.2.1

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

Thanks,
Mohammad
This topic is locked and can not be replied to.