虽然 config 文件夹已提交,但 heroku 看不到它.. 当我这样做时,heroku run rake db:migrate
我收到此错误:
Running rake db:migrate attached to terminal... up, run.1
rake aborted!
no such file to load -- /app/config/application
我试着像这样测试它:
$ heroku run bash -a myapp
~ $ ls config
ls: cannot access config: No such file or directory
虽然我确定配置文件夹已提交并推送,但有人可以帮助我吗?
这是git状态:
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# new file: .gitignore~
# modified: .idea/workspace.xml
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: .idea/workspace.xml