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? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
what version of parseexcel you are using On Mon, Jan 12, 2009 at 1:04 PM, Me <chabgood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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? > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
0.5.2 On Jan 12, 12:23 pm, "Mohammad Khan" <beepl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> what version of parseexcel you are using > > On Mon, Jan 12, 2009 at 1:04 PM, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > 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? > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On Mon, Jan 12, 2009 at 1:32 PM, Me <chabgood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 0.5.2 > > On Jan 12, 12:23 pm, "Mohammad Khan" <beepl...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > what version of parseexcel you are using > > > > On Mon, Jan 12, 2009 at 1:04 PM, Me <chabg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > 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? > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---