我已经使用“sudo gem install spreadsheet”在 Mac OS X 10.7 中安装了电子表格。但是当我运行一个示例时,它无法成功运行。
/Users/dearkx/.rvm/gems/ruby-1.9.3-p0/gems/spreadsheet-0.7.1/lib/spreadsheet/excel/writer/workbook.rb:189: warning: assigned but unused variable - len
/Users/dearkx/.rvm/gems/ruby-1.9.3-p0/gems/spreadsheet-0.7.1/lib/spreadsheet/excel/writer/workbook.rb:527: warning: assigned but unused variable - bef
/Users/dearkx/.rvm/gems/ruby-1.9.3-p0/gems/spreadsheet-0.7.1/lib/spreadsheet/excel/writer/worksheet.rb:292: warning: assigned but unused variable - len
/Users/dearkx/.rvm/gems/ruby-1.9.3-p0/gems/spreadsheet-0.7.1/lib/spreadsheet/excel/writer/worksheet.rb:599: warning: assigned but unused variable - links
/Users/dearkx/.rvm/gems/ruby-1.9.3-p0/gems/ruby-ole-1.2.11.3/lib/ole/storage/base.rb:232: warning: assigned but unused variable - before
/Users/dearkx/.rvm/gems/ruby-1.9.3-p0/gems/ruby-ole-1.2.11.3/lib/ole/types/property_set.rb:36: warning: assigned but unused variable - map
/Users/dearkx/.rvm/gems/ruby-1.9.3-p0/gems/ruby-ole-1.2.11.3/lib/ole/storage/meta_data.rb:79: warning: assigned but unused variable - compobj_version
⋯⋯⋯⋯
⋯⋯⋯⋯