I have been using the spreadsheet gem from http://spreadsheet.ch/ to read in seed data to a Rails 3 application.
I was using
Spreadsheet.open "xxxx"
which ran fine on my dev machine but when pushed to Heroku errored with “Permission denied”
The guide http://spreadsheet.rubyforge.org/files/GUIDE_txt.html is only very basic help.
Down we go into the ‘long series of debugging questions’ rabbit hole:
“Is the spreadsheet checked into git, such that it would show up on Heroku?”
“Is ruby spreadsheet trying to write to a file that’s in one of the read only parts of heroku?”
“Are you using Spreadsheet.open or ?”
I guess in general it would be nice if you could include a stack trace of the error Heroku is giving you.
Perhaps:
heroku logswithin your project directory might be of help, if the errors are recorded there?