diff options
-rw-r--r-- | lib/rubygems/util.rb | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -41,7 +41,7 @@ module Gem::Util def self.popen *command begin - r, = IO.popen command rescue TypeError # ruby 1.8 only supports string command r, w = IO.pipe @@ -54,12 +54,13 @@ module Gem::Util w.close - Process.wait pid - - r end - r.read end end |