Rails Error: Unable to access log file. Please ensure that /home…/log/development.log exists and is chmod 0666

前端 未结 2 1789
后悔当初
后悔当初 2021-01-17 23:48

Im trying to migrate a db2 database to Ruby on Rails, but just when I run rails g scaffold, I get this:

Rails Error: Unable to acces

2条回答
  •  遇见更好的自我
    2021-01-18 00:29

    I've always had success with the the log file permissions as 644. When this has happened to me, more than once I might add, it has always been answered by the question linked below. Since this is the first answer in Google for the query I use, I'm linking to the answer that I really want.

    Rails: Unable to access log file

提交回复
热议问题