Heroku bundle使用Gem :: RemoteFetcher :: FetchError失败:错
发布时间:2020-12-17 02:05:30 所属栏目:百科 来源:网络整理
导读:我似乎无法部署到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 t
我似乎无法部署到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”,但没有成功.知道这里发生了什么吗? 解决方法
事实证明我需要在我的Gemfile中添加“unf”gem.在Heroku上成功添加该捆绑包后.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |