下载ruby安装包

https://rubyinstaller.org/downloads/

替换国内镜像

gem sources --add https://mirrors.cloud.tencent.com/rubygems/ --remove https://rubygems.org/

安装

gem install jekyll
```
jekyll new blogname

如果一直没反应ctrl+c中断过程,gemfile中替换源https://mirrors.cloud.tencent.com/rubygems/

cd blogname
```
bundle install
```
jekyll serve
```
http://127.0.0.1:4000/
```
bundle exec jekyll serve