From 9ade086b6e0f64ae0610e3ecd2fb1d99b6d91962 Mon Sep 17 00:00:00 2001 From: Lance Albertson Date: Mon, 31 Aug 2020 12:09:27 -0700 Subject: Workaround rubygems slow requires by only running require for chef-utils/dist Signed-off-by: Lance Albertson --- lib/chef/resource/macos_userdefaults.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/resource/macos_userdefaults.rb') diff --git a/lib/chef/resource/macos_userdefaults.rb b/lib/chef/resource/macos_userdefaults.rb index 7ac4b20a6d..a150aeb9ed 100644 --- a/lib/chef/resource/macos_userdefaults.rb +++ b/lib/chef/resource/macos_userdefaults.rb @@ -16,7 +16,7 @@ # require_relative "../resource" -require "chef-utils/dist" +require "chef-utils/dist" unless defined?(ChefUtils::Dist) autoload :Plist, "plist" class Chef -- cgit v1.2.1