Ruby on rails 3 Heroku无法查看配置文件夹;为什么?

Ruby on rails 3 Heroku无法查看配置文件夹;为什么?,ruby-on-rails-3,git,bash,heroku,Ruby On Rails 3,Git,Bash,Heroku,虽然已提交配置文件夹,但heroku看不到它。。 当我运行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 confi

虽然已提交配置文件夹,但heroku看不到它。。 当我运行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

强制将另一个git推送到远程heroku存储库。今天Heroku上出现了一些git推送错误。请参见

您确定找不到的不是application.rb文件吗?你能试试吗

$ heroku run bash -a myapp
~ $ ls -al /app/config

我试图像这样强制推送:git push heroku master-f,但是,我得到了一个结果:一切都是最新的,这是强制git推送的正确方法吗?对一些文件进行更改,进行本地提交,然后对heroku进行另一次推送。我试图对boot.rb和application.rb进行更改,提交,并进行了另一次推送,但是,我有相同的错误..是的,下面是我得到的:ls:无法访问/app/config:没有这样的文件或目录您的rake输出表明它试图从/app/config文件夹中加载application.rb,而在Rails中,它应该位于应用程序目录ie/config/application.rb的同一级别-应用程序是否在本地启动?