使用gem安装jekyll错误记录

时间:2023-03-09 04:50:05
使用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.****.net/yanglishuan/article/details/47087145