Junegunn Choi wrote in post #1033475:
> Are you sure you want to write your own code for handling Excel binary
> format?
> I suggest you try 'spreadsheet' gem.
>
> require 'spreadsheet'
> book = Spreadsheet::Workbook.new
> sheet = book.create_worksheet
> book.write 'test.xls'
Thanks Choi.
But when I use require 'spreadsheet' in my code I get the following
error:- Even though I have installed the spreadsheet gem.
`require': no such file to load -- spreadsheet (LoadError)
from excel.rb:1
--
Posted via http://www.ruby-forum.com/.