diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2018-04-02 11:39:59 -0700 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2018-04-02 11:39:59 -0700 |
commit | e24e7fdb197815a5fb77f35c8ac058a870d67b36 (patch) | |
tree | 4e5af72e785a79066eda88907255f90ca98c0e92 /lib/chef | |
parent | 74527f39b5768ea21253b45a0e7583a0af6fd451 (diff) | |
download | chef-e24e7fdb197815a5fb77f35c8ac058a870d67b36.tar.gz |
Address possible gem installs between interval runs that are then used in the config.configure-gems
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/application.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index 069d840813..811c713464 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -50,6 +50,8 @@ class Chef # Reconfigure the application. You'll want to override and super this method. def reconfigure + # In case any gems were installed for use in the config. + Gem.clear_paths configure_chef configure_logging configure_encoding |