summaryrefslogtreecommitdiff
path: root/lib/chef/run_context.rb
diff options
context:
space:
mode:
authormwrock <matt@mattwrock.com>2020-09-04 18:46:27 -0700
committermwrock <matt@mattwrock.com>2020-09-08 14:46:36 -0700
commit41ae92bd5070b450e04f02ae9a1d30987d14bb93 (patch)
tree952399197c5344e29a648560fda242ef77a7dd7e /lib/chef/run_context.rb
parent313afa345a0d19019218807a16bf6fdd6447a87b (diff)
downloadchef-41ae92bd5070b450e04f02ae9a1d30987d14bb93.tar.gz
use autoloading for many required gems
Signed-off-by: mwrock <matt@mattwrock.com>
Diffstat (limited to 'lib/chef/run_context.rb')
-rw-r--r--lib/chef/run_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index 7ba7d9f33e..bfefc6e101 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -28,7 +28,7 @@ require_relative "event_dispatch/events_output_stream"
require_relative "train_transport"
require_relative "exceptions"
require "forwardable" unless defined?(Forwardable)
-require "set" unless defined?(Set)
+autoload :Set, "set"
class Chef