summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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