summaryrefslogtreecommitdiff
path: root/lib/chef/resource/archive_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/archive_file.rb')
-rw-r--r--lib/chef/resource/archive_file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/archive_file.rb b/lib/chef/resource/archive_file.rb
index 156c0c9775..18a6a2d5a0 100644
--- a/lib/chef/resource/archive_file.rb
+++ b/lib/chef/resource/archive_file.rb
@@ -62,7 +62,7 @@ class Chef
alias_method :extract_options, :options
alias_method :extract_to, :destination
- require "fileutils"
+ require "fileutils" unless defined?(FileUtils)
action :extract do
description "Extract and archive file."