sudo yum install ruby
sudo yum install ruby-devel
sudo yum install rubygems
sudo gem install jekyll
* sudo gem insall json
注意:最后必须安装json,否则jekyll serve 命令执行时会出错。
参考:http://stackoverflow.com/questions/19788258/error-when-running-jekyll-new-command
安装rake
sudo gem install rake