diff options
Diffstat (limited to 'lib/chef/provider/script.rb')
-rw-r--r-- | lib/chef/provider/script.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/script.rb b/lib/chef/provider/script.rb index 8d33c56da2..4282825650 100644 --- a/lib/chef/provider/script.rb +++ b/lib/chef/provider/script.rb @@ -16,10 +16,10 @@ # limitations under the License. # -require "tempfile" +require "tempfile" unless defined?(Tempfile) require_relative "execute" require_relative "../win32/security" if Chef::Platform.windows? -require "forwardable" +require "forwardable" unless defined?(Forwardable) class Chef class Provider |