summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2017-09-19 10:37:33 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2017-09-19 10:41:27 +0900
commita751a2b89ca3e339fe8d30a2672009157424ebb3 (patch)
tree54b69204cd2149206486c34096d3cdfbb11f9149
parent0bc59ff7d4c4a76f3fadac314b4d23d37076e467 (diff)
downloadbundler-a751a2b89ca3e339fe8d30a2672009157424ebb3.tar.gz
Fix variable
-rw-r--r--lib/bundler/gem_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/gem_helper.rb b/lib/bundler/gem_helper.rb
index 2d354a5ecb..362f66d0c5 100644
--- a/lib/bundler/gem_helper.rb
+++ b/lib/bundler/gem_helper.rb
@@ -186,7 +186,7 @@ module Bundler
end
def sh_with_code(cmd, &block)
- out, status = sh_with_code(cmd, &block)
+ outbuf, status = sh_with_code(cmd, &block)
[outbuf, (status&&status.exitstatus)||-1]
end