Simplify execution, just use bundle exec
This commit is contained in:
parent
ab4fbbb5ed
commit
78d1e49359
1 changed files with 2 additions and 4 deletions
|
@ -7,7 +7,6 @@ cd $(dirname "$0")/..
|
||||||
|
|
||||||
BUNDLE=.bundle
|
BUNDLE=.bundle
|
||||||
BIN=$BUNDLE/binstubs
|
BIN=$BUNDLE/binstubs
|
||||||
CARDBOARD=$BIN/cardboard
|
|
||||||
SCRIPT=$(basename "$0")
|
SCRIPT=$(basename "$0")
|
||||||
|
|
||||||
BUNDLE_ARGS="--binstubs $BIN --path $BUNDLE --quiet"
|
BUNDLE_ARGS="--binstubs $BIN --path $BUNDLE --quiet"
|
||||||
|
@ -16,6 +15,5 @@ BUNDLE_ARGS="--binstubs $BIN --path $BUNDLE --quiet"
|
||||||
rm -rf {$BIN,$BUNDLE/config}
|
rm -rf {$BIN,$BUNDLE/config}
|
||||||
bundle install $BUNDLE_ARGS
|
bundle install $BUNDLE_ARGS
|
||||||
|
|
||||||
"$CARDBOARD" bootstrap
|
bundle exec cardboard bootstrap
|
||||||
|
exec bundle exec cardboard "$SCRIPT" "$@"
|
||||||
exec "$CARDBOARD" "$SCRIPT" "$@"
|
|
||||||
|
|
Loading…
Reference in a new issue