教程連接ruby
yum install gem
使用如下命令替換 gems 默認源bash
# 添加 TUNA 源並移除默認源 gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/ # 列出已有源 gem sources -l # 應該只有 TUNA 一個
gem install jekyll bundler
# Create a new Jekyll site at ./myblog jekyll new myblog # Change into your new directory cd myblog # Build the site on the preview server bundle exec jekyll serve # Now browse to http://localhost:4000
引用官網ui