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

前端 未结 2 1782
后悔当初
后悔当初 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:24

    Maybe just do what it asks you to do?:

    $ touch the_required_path/development.log
    $ chmod 0666  the_required_path/development.log
    

提交回复
热议问题