Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6207129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:34:30+00:00 2026-05-24T05:34:30+00:00

I am using spreadsheet gem to generate a xls file in my applications public

  • 0

I am using spreadsheet gem to generate a xls file in my applications public folder and then using the send_file method to send the file.
My code worked properly on my local machine in test as well as production mode.
But when I deployed this code on heroku it showed the following error:

Permission denied – /app/public/history_23.xls

Can anyone suggest the solution please.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T05:34:31+00:00Added an answer on May 24, 2026 at 5:34 am

    Heroku has a read only file system, you CANNOT write to any where except the tmp and log directory –

    http://devcenter.heroku.com/articles/read-only-filesystem

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using spreadsheet gem to generate native Excel file. This is not CSV,
I am using this Spreadsheet gem to export xls file. I have the following
I have a C# method, see code below, that generates an Excel spreadsheet using
Today I started using the spreadsheet gem to make my excel files, but one
How can I upload a csv file on my computer programmaticaly using Google Spreadsheet
I have been using the spreadsheet gem from http://spreadsheet.ch/ to read in seed data
When creating a chart in a spreadsheet using Spreadsheet::WriteExcel , the file it creates
I'm using http://spreadsheet.rubyforge.org to generate a spreadsheet and I'm having trouble with something. I'm
I've generated an Excel spreadsheet using HSSFWorkbook, then implemented a custom javax.activation.DataSource to attach
I have locked cells in a spreadsheet using this lines of code. Range(A1:D23).Select Selection.Locked

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.