summaryrefslogtreecommitdiff
path: root/lib/chef/application/apply.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/application/apply.rb')
-rw-r--r--lib/chef/application/apply.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/application/apply.rb b/lib/chef/application/apply.rb
index 275fe19f93..1a9b115632 100644
--- a/lib/chef/application/apply.rb
+++ b/lib/chef/application/apply.rb
@@ -22,8 +22,8 @@ require_relative "../application"
require_relative "../client"
require_relative "../config"
require_relative "../log"
-require "fileutils"
-require "tempfile"
+require "fileutils" unless defined?(FileUtils)
+require "tempfile" unless defined?(Tempfile)
require_relative "../providers"
require_relative "../resources"
require_relative "../dist"