0

虽然 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
4

2 回答 2

0

强制另一个 git push 到您的远程 heroku 存储库。今天在 Heroku 上出现了一些 git push 错误。见http://status.heroku.com

于 2012-05-04T06:07:52.477 回答
0

你确定不是它找不到的application.rb文件吗?你能试一下吗:

$ heroku run bash -a myapp
~ $ ls -al /app/config
于 2012-05-04T08:43:14.693 回答