From 3197e21069e797faadc8ee1716207a4cf98d6eee Mon Sep 17 00:00:00 2001 From: Nick Lewis Date: Mon, 16 May 2011 17:03:42 -0700 Subject: (#7298) require 'English' to provide $CHILD_STATUS in Ruby 1.9 This had been coming from 'cgi', but in Ruby 1.9, cgi no longer requires English. Since we use $CHILD_STATUS when execing, we need to have it available, so require it manually. This also provides the other named special globals, should we choose to use them. Paired-With: Josh Cooper --- lib/puppet/util.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/puppet/util.rb b/lib/puppet/util.rb index d06f44808..ce9d4642b 100644 --- a/lib/puppet/util.rb +++ b/lib/puppet/util.rb @@ -1,5 +1,6 @@ # A module to collect utility functions. +require 'English' require 'puppet/util/monkey_patches' require 'sync' require 'puppet/external/lock' -- cgit