【总结】Jekyll搭建博客

今晚折腾了一下使用Jekyll +Github搭载自己的博客。基本参考如下两篇博客即可

  1. 参考博客1
  2. 参考博客2


当时中间一个步骤出了问题

在安装jekyll时,输入 gem install jekyll出现以下bug

Unable to download data from https://rubygems.org/ Errno::ETIMEDOUT:
 A connection attempt failed because the connected party did not properly respon
d after a period of time, or established connection failed because connected hos
t has failed to respond. - connect(2) (https://rubygems.org/latest_specs.4.8.gz)


最终发现问题出现在天朝的网络

在这里找到了解决方法  http://ruby.taobao.org/

如该网页中解释的

我执行了以下命令即解决了问题

$ gem sources --remove https://rubygems.org/
$ gem sources -a https://ruby.taobao.org/
$ gem sources -l
*** CURRENT SOURCES ***

https://ruby.taobao.org
# 请确保只有 ruby.taobao.org
$ gem install rails

最后附上我的博客地址:leaking.github.io/。使用了一个类似西方媒体网站的主题。




  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 7
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 7
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值