Use rvm to install a recent version of ruby. See https://rvm.io/. After this, run the following:
rvm use 2.0 # If you get the login shell error, go to the
# terminal preferences and select run command as login
# shell.
gem install jekyll
bundle install
jekyll serve --watch
Look at http://localhost:4000 in a browser to previous the page.
git push