- 安装RUBY环境
sudo apt-get install ruby ruby-dev
sudo apt-get install ruby-full - 安装RubyGems
sudo apt-get install rubygems
sudo gem update –system - 安装nodejs环境
sudo apt-get install nodejs
- 更换GEM SOURCES
gem sources –add https://gems.ruby-china.com –remove https://rubygems.org/
gem sources -l - 安装JEKYLL 和 MARKDOWN支持
sudo apt-get install build-essential
sudo gem install jekyll
sudo gem install rdiscount - 安装jekyll4剑客
sudo gem install bundler #打包用工具
sudo gem install jekyll-paginate #分页设置工具
sudo gem install minima #默认主题
sudo gem install jekyll-feed #订阅用的工具 - 验证jekyll安装是否成功
jekyll new myblog