Forum: Ruby on Rails File created using Spreadsheet Excel can't read on linux

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C42c706fab23da0b6d3cd2cfbb8db27d?d=identicon&s=25 Salil Gaikwad (salil)
on 2009-04-07 18:08
Hi All,
  Created xls file using spreadsheet Excel is not read on linux.

I am creating an xls file are as follows

workbook = Spreadsheet::Excel.new("Filepath")
worksheet = workbook.add_worksheet("Sheet1")
       |
       |
       |
workbook.close


but when i am trying to download this it not get download.
This topic is locked and can not be replied to.