File created using Spreadsheet Excel can't read on linux

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs