Commit 858ee947 authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #467 from papercavalier/bundler

_run-with-bundler
parents 9e601c23 913cf532
......@@ -23,12 +23,10 @@ _within-bundled-project() {
}
_run-with-bundler() {
local command="$1"
shift
if _bundler-installed && _within-bundled-project; then
bundle exec $command "$@"
bundle exec $@
else
$command "$@"
$@
fi
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment