Parseexcel problem

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?

what version of parseexcel you are using

0.5.2

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs