【发布时间】: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