我在使用ruby 2.0和bundler 1.3.5的windows 2007盒上
我有一个发行者,通过它,我可以很好地使用gem安装来安装gem,但是bundle安装始终会产生以下结果:
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变量)。我不知道为什么宝石安装工作,但邦德勒不能。
发布于 2013-07-25 17:47:53
您的代理可能不支持https://类型的通信。
您可能需要调整Gemfile的标题以读取:
source 'http://rubygems.org/`https://stackoverflow.com/questions/17863217
复制相似问题