| ... | ... |
@@ -23,12 +23,10 @@ _within-bundled-project() {
|
| 23 | 23 |
} |
| 24 | 24 |
|
| 25 | 25 |
_run-with-bundler() {
|
| 26 |
- local command="$1" |
|
| 27 |
- shift |
|
| 28 | 26 |
if _bundler-installed && _within-bundled-project; then |
| 29 |
- bundle exec $command "$@" |
|
| 27 |
+ bundle exec $@ |
|
| 30 | 28 |
else |
| 31 |
- $command "$@" |
|
| 29 |
+ $@ |
|
| 32 | 30 |
fi |
| 33 | 31 |
} |
| 34 | 32 |
|