赵不寒的网络日记,在这里记录着自己的随想、随感和技术学习日志
xcode-select --install
# You should install Homebrew first.
brew install ruby
# add brew ruby path to shell config
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile
# check it
ruby -v
# bundler & jekyll
sudo gem install --user-install bundler jekyll
bundle exec jekyll serve