使用gem安装jekyll错误记录

准备在windows7上安装Jekyll,

安装好了Ruby和RubyDevKit之后,准备使用:

$ gem install jekyll

安装jekyll,但是返回错误:

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)

  Errno::ECONNRESET: An existing connection was forcibly closed by the remote host. - SSL_connect

 

解决:

更新了ruby的源,

按照:https://ruby.taobao.org/的方法。

$ gem sources --remove https://rubygems.org/

$ gem sources -a https://ruby.taobao.org/

 

参考:http://blog.csdn.net/yanglishuan/article/details/47087145

posted @ 2015-08-13 19:59  niceforbear  阅读(710)  评论(0编辑  收藏  举报