summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/path_utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/chef_fs/path_utils.rb')
-rw-r--r--lib/chef/chef_fs/path_utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/path_utils.rb b/lib/chef/chef_fs/path_utils.rb
index 6389fe4d2f..fe6428a5b1 100644
--- a/lib/chef/chef_fs/path_utils.rb
+++ b/lib/chef/chef_fs/path_utils.rb
@@ -17,7 +17,7 @@
#
require_relative "../chef_fs"
-require "pathname"
+require "pathname" unless defined?(Pathname)
class Chef
module ChefFS