Heroku bundle使用Gem :: RemoteFetcher :: FetchError失败:错误的响应后端读取错误503

时间:2013-11-11 21:51:48

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

我似乎无法部署到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"但没有成功。知道这里发生了什么吗?

1 个答案:

答案 0 :(得分:1)

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