bundle install FetchError EOFError

时间:2013-07-25 16:05:11

标签: ruby proxy bundler

我在使用ruby 2.0和bundler 1.3.5

的Windows 2007机器上

我有一个发行人,我可以使用gem install安装gems,但是bundle install会持续产生以下结果:

C:\src\ruby_test>bundle install
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..

Gem::RemoteFetcher::FetchError: EOFError: end of file reached (https://rubygems.
org/gems/rake-10.1.0.gem)
An error occurred while installing rake (10.1.0), and Bundler cannot continue.
Make sure that `gem install rake -v '10.1.0'` succeeds before bundling.

我在代理后面运行并使用cntlm绕过它(使用http_proxy变量)。我不知道为什么gem安装工作但捆绑器不能。

1 个答案:

答案 0 :(得分:1)

您的代理可能不支持https://类型的通信。

您可能需要将Gemfile的标题调整为:

source 'http://rubygems.org/`
相关问题