开发环境搭建流程
【笔者注】 感谢涛哥的悉心教授与耐心讲解
主要流程参考Github Pages
搭建jekyll的流程参考Blogging with Jekyll
其它安装注意事项:
# ruby源总是连不上,使用国内的镜像源
gem sources -l #查看源列表
gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/ #修改源地址
# 安装bundle命令
sudo gem install bundler
# 编辑好Gemfile后,安装其它依赖,最好修改bundle的源
bundle config mirror.https://rubygems.org https://ruby.taobao.org
bundle install
bundle exec jekyll serve修改ruby的镜像源,可以参考链接