1
我遵循Octopress installation的说明。 但它停止后:在安装软件包期间停止安装Octopress
bundle install
Fetching gem metadata from http ://rubygems.org/
Fetching source index from http ://rubygems.org/
它并不之后继续。
很长一段时间后,它就会显示错误消息:
Network error while fetching http ://rubygems.org/quick/Marshal.4.8/active_data-0.1.0.gemspec.rz
我怎样才能克服这个问题?
反正
bundle install --local
不起作用。它会显示错误信息:
Could not find rake-0.9.2.2 in any of the sources
而且我不支持任何http代理。 如果这是由网络连接问题引起的,我该如何离线安装软件包?
谢谢,问题解决了。 我将Gemfile从http更改为https,它终于有效。
需要很长时间才能完成...为什么不再运行一次,并等待几分钟?顺便说一句,如果您确实在等待,仍然没有得到回应,您是否在任何http代理下? – 2013-03-20 16:39:31
这似乎是一个捆绑软件中的错误... https://github.com/carlhuda/bundler/issues/2379。尝试运行'捆绑安装 - 本地'如果宝石已经安装在这里给出:http://stackoverflow.com/questions/10635065/bundle-install-not-working-offline – 2013-03-20 22:51:40
这是一个错字? 'http:// rubygems.org /' – 2013-03-21 03:04:37