Jim Burgess wrote:
> Hi,
> 
> I am writing a ruby application with FXRuby, which also uses the ruby
> gem 'spreadsheet' to create an Excel file. Everything was working fine
> until this morning when, for some reason, when I ran my application, it
> started spewing out warnings at me (literally hundreds), caused by the
> 'spreadsheet' gem.
> e.g.
> "c:/ruby/lib/ruby/gems/1.8/gems/spreadsheet-0.6.1.9/lib/spreadsheet/datatypes.rb:27:
> warning: instance variable @text_wrap not initialized"
> 
> Can anyone tell me how to turn off warnings in ruby while I try to
> figure this out?

It's probably harmless, so don't panic. You can report that to Hannes on 
the project page as a bug:

http://www.rubyforge.org/projects/spreadsheet

> Thanks a lot.
> I'm currently working with ruby 1.8.6 and using xp

I'm curious what turned warnings on, since they're not on by default. 
What happens if you run ruby with -W0?

Regards,

Dan