|
@@ -24,11 +24,7 @@ within-bundled-project()
|
|
run-with-bundler()
|
|
run-with-bundler()
|
|
{
|
|
{
|
|
if bundler-installed && within-bundled-project; then
|
|
if bundler-installed && within-bundled-project; then
|
|
- if [ $command == "ruby" ]; then
|
|
|
|
- ruby -rbundler/setup "$@"
|
|
|
|
- else
|
|
|
|
- bundle exec $command "$@"
|
|
|
|
- fi
|
|
|
|
|
|
+ bundle exec "$@"
|
|
else
|
|
else
|
|
"$@"
|
|
"$@"
|
|
fi
|
|
fi
|