简体   繁体   English

Heroku Ruby Buildpack检测失败

[英]Heroku Ruby Buildpack Detection Failure

I'm attempting to deploy my Ruby on Rails application that is currently on branch "rails_app" (as shown below). 我正在尝试部署当前在分支“ rails_app”上的Ruby on Rails应用程序(如下所示)。 I have successfully deployed it before, but it is now not working with additional changes. 我以前已经成功部署了它,但是现在无法进行其他更改。 When I manually look for buildpacks by running "heroku buildpacks," it indicates the correct one is there. 当我通过运行“ heroku buildpacks”手动查找buildpacks时,表明那里是正确的。 [When I try to reinstall the buildpack, it also says it is already there] When I attempt to push to heroku I receive the failure to detect set buildpath as shown below. [当我尝试重新安装buildpack时,它也说它已经存在。]当我尝试将其推送到heroku时,检测到设置的buildpath失败,如下所示。

Dougs-MBP-2:Rails_Application Doug$ heroku buildpacks
app_name Buildpack URL
heroku/ruby
Dougs-MBP-2:Rails_Application Doug$ git branch
gh-pages
master
* rails_app
update
Dougs-MBP-2:Rails_Application Doug$ git push heroku rails_app:master
Counting objects: 70, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (70/70), done.
Writing objects: 100% (70/70), 217.85 KiB | 0 bytes/s, done.
Total 70 (delta 46), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Failed to detect set buildpack https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/ruby.tgz
remote: More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !   Push rejected to app_name.
remote: 
To https://git.heroku.com/app_name.git
! [remote rejected] rails_app -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/app_name.git'

Thanks for your help. 谢谢你的帮助。

It seems you are setting a custom buildpack: " https://codonbuildpacks.s3.amazonaws.com/buildpacks/heroku/ruby.tgz " but when I visit that link it says that no bucket with that name exists which means that heroku can't detect your custom buildpack and fails. 似乎您正在设置自定义buildpack:“ https://codonbuildpacks.s3.amazonaws.com/buildpacks/heroku/ruby.tgz ”,但是当我访问该链接时,它说不存在具有该名称的存储桶,这意味着heroku可以无法检测到您的自定义buildpack并失败。

You can read more about how to specify custom buildpacks here: https://devcenter.heroku.com/articles/buildpacks#detection-failure 您可以在此处阅读有关如何指定自定义buildpack的更多信息: https ://devcenter.heroku.com/articles/buildpacks#detection-failure

The ruby buildpack that heroku uses is on this page: https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-ruby heroku使用的红宝石构建包在此页面上: https : //elements.heroku.com/buildpacks/heroku/heroku-buildpack-ruby

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Heroku / Ruby:无法检测到set buildpack heroku / ruby - Heroku / Ruby : Failed to detect set buildpack heroku/ruby Heroku拒绝我的自定义buildpack的使用乳胶的红宝石 - Heroku rejects my custom buildpack for ruby-on-rails with latex Heroku Ruby部署已禁用-为什么使用buildpack_url有风险? - Heroku Ruby Deploys Disabled - Why is using a buildpack_url risky? 在Heroku Cedar Stack上使用image_optim gem的libjpeg(Ruby buildpack) - libjpeg with image_optim gem on Heroku Cedar Stack (Ruby buildpack) 在 Heroku - Ruby 上部署失败(在 Windows 上) - Deploy failure on Heroku - Ruby (on windows) Heroku中用于zip的自定义buildpack - Custom buildpack for zip in Heroku 使用Taglib-Ruby为Web应用程序构建自定义Heroku Ruby / Rails Buildpack - Constructing Custom Heroku Ruby/Rails Buildpack for Web App Using Taglib-Ruby 在 Heroku 下载 yarn 上部署 Rails 5 卡住消息“运行 buildpack Ruby 超时” - Deploy Rails 5 on Heroku download yarn gets stuck with message "Timed out running buildpack Ruby" Heroku ruby​​ buildpack错误 - 未定义的局部变量或方法`install_language_pack_gems' - Heroku ruby buildpack error - undefined local variable or method `install_language_pack_gems' 如果我使用的是 Heroku buildpack,是否需要使用 jemalloc 构建 Ruby 并使用 gem? - Do I need to build Ruby with jemalloc and use the gem if I'm using a Heroku buildpack?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM