1.创建 GitHub 仓库
2.安装 Jekyll
参考文档:https://jekyllrb.com/docs/installation/windows/
- 下载 RubyInstaller 时,如速度很慢很慢,可以考虑尝试打开 科学 上网工具
- Could not find a valid gem ‘jekyll’
- Error fetching http://ruby.taobao.org/
Error fetching https://gems.ruby-china.org/
以上三个报错的解决办法为 -> 换为国内的源
//更换源
gem sources --remove https://rubygems.org/
gem sources -a https://gems.ruby-china.com/
gem sources -l
//显示以下内容 为换源成功
*** CURRENT SOURCES ***
https://gems.ruby-china.com/
//开始安装....
gem install jekyll bundle