summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-04-02 13:23:10 -0700
committerGitHub <noreply@github.com>2018-04-02 13:23:10 -0700
commit3ea5ff32209892abb9ccb25f166a49a89a409648 (patch)
tree4e5af72e785a79066eda88907255f90ca98c0e92
parent74527f39b5768ea21253b45a0e7583a0af6fd451 (diff)
parente24e7fdb197815a5fb77f35c8ac058a870d67b36 (diff)
downloadchef-3ea5ff32209892abb9ccb25f166a49a89a409648.tar.gz
Merge pull request #7106 from chef/configure-gems
Address possible gem installs between interval runs that are then used in the config
-rw-r--r--lib/chef/application.rb2
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