Browse Source

Merge pull request #467 from papercavalier/bundler

_run-with-bundler
Robby Russell 13 years ago
parent
commit
858ee947f3
1 changed files with 2 additions and 4 deletions
  1. 2 4
      plugins/bundler/bundler.plugin.zsh

+ 2 - 4
plugins/bundler/bundler.plugin.zsh

@@ -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
 }