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

  • SEARCH
  • Home
  • 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 8574433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:28:24+00:00 2026-06-11T19:28:24+00:00

This seems like it would be a common problem, but I just can’t seem

  • 0

This seems like it would be a common problem, but I just can’t seem to find the solution through google searches, etc.

I just created a new Rails 3.2.6 application and configured it to use the PostgreSQL database for my local development. I followed this RailsCast and was able to get everything installed and set up correctly.

However, whenever I try to do any rails generate or rake commands (rails generate model, rake db:migrate etc), I get the following error referring to my development.log file:

Rails Error: Unable to access log file. Please ensure that /Users/****/projects/rails_projects/rails_app/log/development.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed.

I see these other stackoverflow questions/answers, but they don’t fit my case exactly:

  • Rails: Unable to access log file <- This is back in the days of Rails 2.2
  • Ruby on Rails Setup: Unable to access log file <- This is regarding a production environment using Apache. I am on a local development environment.

Other than that error, my application runs fine. Also, if I create a new rails application with all its defaults, I don’t get this error.

Any suggestions/hints would be much appreciated. Or if you need any more information about my local environment, please let me know.

  • 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-06-11T19:28:26+00:00Added an answer on June 11, 2026 at 7:28 pm

    I basically did what the error message suggested and did a chmod 0666 on the development.log file:

    $> cd /Users/****/projects/rails_projects/rails_app/log/  
    $> chmod 0666 development.log
    

    Everything worked fine after that.

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

Sidebar

Related Questions

I'm sure this is a common problem, but I just can't seem to find
This seems like it would be a common issue to be but I don't
This seems like it would be fairly simple, but I've been unable to find
This seems like such a simple issue but I cannot find an elegant solution.
This seems like the simplest Git question, but I can't find ANYTHING on it.
So I have a Rails app (which in this case seems like it would
This may seem like a basic question. I have a light-weight website and would
I have this design which I cannot seem to get right, I would like
This seems like a repeated question but i'm not able to get my answer.
This seems like something that could be quite useful and yet and I can't

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.