gpt4 book ai didi

Heroku 包因 Gem::RemoteFetcher::FetchError 失败:错误响应后端读取错误 503

转载 作者:行者123 更新时间:2023-12-01 05:16:13 26 4
gpt4 key购买 nike

我似乎无法部署到 Heroku。它一直在 bundle 失败。我可以在本地 bundle 。我收到以下错误:

Gem::RemoteFetcher::FetchError: bad response backend read error 503 (https://rubygems.global.ssl.fastly.net/gems/thor-0.18.1.gem)
An error occurred while installing thor (0.18.1), and Bundler cannot continue.
Make sure that `gem install thor -v '0.18.1'` succeeds before bundling.
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby app

我尝试从 "https://rubygems.org" 更改 Gemfile 源至 "http://rubygems.org"没有任何成功。知道这里发生了什么吗?

最佳答案

事实证明,我需要将“unf” gem 添加到我的 Gemfile 中。添加该包后在 Heroku 上成功。

关于Heroku 包因 Gem::RemoteFetcher::FetchError 失败:错误响应后端读取错误 503,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19916683/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com