diff --git a/docs/_docs/deployment/automated.md b/docs/_docs/deployment/automated.md index d3efa610..5f6300c1 100644 --- a/docs/_docs/deployment/automated.md +++ b/docs/_docs/deployment/automated.md @@ -36,6 +36,12 @@ Next, add the following lines to hooks/post-receive and be sure Jekyll is installed on the server: ```bash +#!/bin/bash -l + +# Install Ruby Gems to ~/gems +export GEM_HOME=$HOME/gems +export PATH=$GEM_HOME/bin:$PATH + GIT_REPO=$HOME/myrepo.git TMP_GIT_CLONE=$HOME/tmp/myrepo GEMFILE=$TMP_GIT_CLONE/Gemfile