diff --git a/bin/bootstrap.sh b/bin/bootstrap.sh index 53e76cd..9548956 100755 --- a/bin/bootstrap.sh +++ b/bin/bootstrap.sh @@ -3,6 +3,8 @@ # bail on errors set -e +export PATH="$HOME/.rbenv/shims:$PATH" + echo "*** bootstrap samhuri.net" echo "* bundle install" diff --git a/bin/compile.sh b/bin/compile.sh index 91f3156..c38cf84 100755 --- a/bin/compile.sh +++ b/bin/compile.sh @@ -3,6 +3,8 @@ # bail on errors set -e +export PATH="$HOME/.rbenv/shims:$PATH" + DIR=$(dirname "$0") HARP="node_modules/harp/bin/harp" BLOG_DIR="${1:-${DIR}/..}" diff --git a/bin/create-test-blog.sh b/bin/create-test-blog.sh index d36f529..16c6088 100755 --- a/bin/create-test-blog.sh +++ b/bin/create-test-blog.sh @@ -2,6 +2,8 @@ set -e # bail on errors +export PATH="$HOME/.rbenv/shims:$PATH" + BLOG_PATH="$1" ORIGIN_BLOG_PATH="${BLOG_PATH}-origin.git" if [[ -e "$BLOG_PATH" ]]; then