From 1bdc055592322756f39f9a7c34edbe16645742e3 Mon Sep 17 00:00:00 2001 From: jtimberman Date: Wed, 11 Jul 2012 15:41:47 -0600 Subject: [COOK-1033] - remove libraries/ruby_19_patches.rb * Per change via CHEF-2684, this is no longer necessary. --- libraries/ruby_19_patches.rb | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 libraries/ruby_19_patches.rb diff --git a/libraries/ruby_19_patches.rb b/libraries/ruby_19_patches.rb deleted file mode 100644 index b97d739..0000000 --- a/libraries/ruby_19_patches.rb +++ /dev/null @@ -1,26 +0,0 @@ -# patch to fix CHEF-2684 -if RUBY_PLATFORM =~ /mswin|mingw32|windows/ - if RUBY_VERSION =~ /^1\.8/ - require 'win32/open3' - else - require 'open3' - end - - class Chef - module Mixin - module Command - module Windows - - module Open4 - def self.popen4(*cmd, &block) - Open3.popen3(*cmd) do |i, o, e, t| - block.call(i, o, e, t.pid) - end - end - end - - end - end - end - end -end -- cgit v1.2.1