【问题标题】:Heroku bundle fails with Gem::RemoteFetcher::FetchError: bad response backend read error 503Heroku 捆绑失败并出现 Gem::RemoteFetcher::FetchError: bad response backend read error 503
【发布时间】:2013-11-11 21:51:48
【问题描述】:

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

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

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

【问题讨论】:

  • 你能在本地安装那个版本的 gem 吗?
  • 是的。它安装成功。
  • 您是否尝试过删除 Gemfile.lock 并运行捆绑包?
  • 是的。两次。 Heroku 没有变化。

标签: heroku ruby-on-rails-3.2 rubygems bundler


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2012-10-03
    • 1970-01-01
    • 2018-10-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多