【发布时间】:2012-05-13 14:26:24
【问题描述】:
虽然 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
【问题讨论】:
标签: ruby-on-rails-3 git bash heroku