use rbenv shims in scripts

This commit is contained in:
Sami Samhuri 2015-09-19 13:00:38 -07:00
parent 82d3f3ed73
commit f00ec57e1d
3 changed files with 6 additions and 0 deletions

View file

@ -3,6 +3,8 @@
# bail on errors
set -e
export PATH="$HOME/.rbenv/shims:$PATH"
echo "*** bootstrap samhuri.net"
echo "* bundle install"

View file

@ -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}/..}"

View file

@ -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