Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Heroku突然拒绝了我的应用程序(env:bundle:没有这样的文件或目录)_Heroku_Deployment - Fatal编程技术网

Heroku突然拒绝了我的应用程序(env:bundle:没有这样的文件或目录)

Heroku突然拒绝了我的应用程序(env:bundle:没有这样的文件或目录),heroku,deployment,Heroku,Deployment,我今天尝试部署我的应用程序,但我的部署第一次被拒绝 我的部署输出如下。我尝试了以下方法,但结果没有改变: 在Gemfile中部署时没有Ruby版本 在Gemfile中部署2.1.0 在以下位置使用自定义BUILDPACK_URL进行部署: 从其他分支部署 从队友的机器上部署 回滚到上次成功部署的提交,更改自述文件中的一行,提交并重新部署 就在昨晚,我已经成功部署了。我只对我要提交的新代码进行了HTML和CSS更改,因此自上次成功部署以来,应用程序设置中没有任何更改 为什么Heroku现在会拒

我今天尝试部署我的应用程序,但我的部署第一次被拒绝

我的部署输出如下。我尝试了以下方法,但结果没有改变:

  • 在Gemfile中部署时没有Ruby版本
  • 在Gemfile中部署2.1.0
  • 在以下位置使用自定义BUILDPACK_URL进行部署:
  • 从其他分支部署
  • 从队友的机器上部署
  • 回滚到上次成功部署的提交,更改自述文件中的一行,提交并重新部署
就在昨晚,我已经成功部署了。我只对我要提交的新代码进行了HTML和CSS更改,因此自上次成功部署以来,应用程序设置中没有任何更改

为什么Heroku现在会拒绝我的应用部署

谢谢

Fetching repository, done.
Counting objects: 11, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 496 bytes, done.
Total 6 (delta 5), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.5.2
Running: bundle install --without development:test --path vendor/bundle --binstubs    vendor/bundle/bin -j4 --deployment
env: bundle: No such file or directory
Bundler Output: env: bundle: No such file or directory
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app
To git@heroku.com:myapp.git
! [remote rejected] development -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:myapp.git'

Heroku放弃了对Rails 1.9的支持,这是一条成功的道路。我在删除路径时遇到了一些问题,因为heroku在配置路径时遇到了一些问题,但不会删除(可能是因为它是默认的)

所以我最终找到了通往某物的道路

heroku config:set PATH=blah
然后让它变得不稳定

heroku config:remove PATH
这似乎一直存在