summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjtimberman <joshua@opscode.com>2012-07-11 15:41:47 -0600
committerjtimberman <joshua@opscode.com>2012-07-11 15:41:47 -0600
commit1bdc055592322756f39f9a7c34edbe16645742e3 (patch)
treec914a9978cc8d4a6b99a7199cc19b9ad83174474
parent2b9c3bbdb10e9e809d4fd3cbb5047c8c7a9737c9 (diff)
downloadmixlib-shellout-1bdc055592322756f39f9a7c34edbe16645742e3.tar.gz
[COOK-1033] - remove libraries/ruby_19_patches.rb
* Per change via CHEF-2684, this is no longer necessary.
-rw-r--r--libraries/ruby_19_patches.rb26
1 files changed, 0 insertions, 26 deletions
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