mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
use rbenv shims in scripts
This commit is contained in:
parent
82d3f3ed73
commit
f00ec57e1d
3 changed files with 6 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
|||
# bail on errors
|
||||
set -e
|
||||
|
||||
export PATH="$HOME/.rbenv/shims:$PATH"
|
||||
|
||||
echo "*** bootstrap samhuri.net"
|
||||
|
||||
echo "* bundle install"
|
||||
|
|
|
|||
|
|
@ -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}/..}"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue