Problem with writing a file to excel with spreadsheet

Posted by winter sun on Stack Overflow See other posts from Stack Overflow or by winter sun
Published on 2010-05-01T12:07:57Z Indexed on 2010/05/01 12:17 UTC
Read the original article Hit count: 265

Filed under:
|

I am trying to write excel file by using ruby 1.9 spreadsheet version 0.6.4.1 on windows. Everything is going ok, until I get to the book.write statement when I write book.write "c:/spreadsheet/excel-file.xls I keep getting the following error No such file or directory - c:/spreadsheet/excel-file.xls Can anyone tell me what I should change in this path name?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about excel