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
when i am runing it from the ruby console i get the error
errono::EINVAL invalid argument. when i check in the path i see that a file was created but althought i write to it its empty
Can anyone tell me what should I do?
Thanks