diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-03 13:33:06 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-03 13:33:06 +0000 |
commit | a98c65338d098aa9ababe99bebb05e174e281d53 (patch) | |
tree | 26b29d2f75ef5dc1398ba5c1bd69d0228947ddbb /lib | |
parent | 6959bc503c302e992e7749251aa11e5e178db9c3 (diff) |
rubygems/util.rb: remove unused variable
* lib/rubygems/util.rb (Gem::Util.silent_system): remove unused
variable, to fix test failures with verbose flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rubygems/util.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/util.rb b/lib/rubygems/util.rb index daa9775b08..cd0af4d8fe 100644 --- a/lib/rubygems/util.rb +++ b/lib/rubygems/util.rb @@ -80,7 +80,7 @@ module Gem::Util cmds = command.dup end return system(*(cmds << opt)) - rescue TypeError => e + rescue TypeError require 'thread' @silent_mutex ||= Mutex.new |