diff options
author | Terence Lee <hone02@gmail.com> | 2011-10-02 21:23:59 -0500 |
---|---|---|
committer | Terence Lee <hone02@gmail.com> | 2011-10-02 21:23:59 -0500 |
commit | e2be1f76afb262d8d90fc2e9c92bbfe6dff75976 (patch) | |
tree | dc7824335ca188c4dad570e8d0a0646f6262d58f /spec | |
parent | d9e9323be8f3af856da3bebdcb8a0c1491f9c85e (diff) | |
download | bundler-e2be1f76afb262d8d90fc2e9c92bbfe6dff75976.tar.gz |
fix build for ruby 1.8.7
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/helpers.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index c275e6ba8e..33f38fde95 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -45,7 +45,8 @@ module Spec R opts = args.last.is_a?(Hash) ? args.pop : {} opts.merge!(:expect_err => true) - run(cmd, *args, opts) + args += [opts] + run(cmd, *args) end def lib |