lib/berkshelf/config.rb in berkshelf-7.1.0 vs lib/berkshelf/config.rb in berkshelf-7.2.0
- old
+ new
@@ -1,6 +1,6 @@
-require "mixlib/config"
-require "openssl"
+require "mixlib/config" unless defined?(Mixlib::Config)
+require "openssl" unless defined?(OpenSSL)
# we need this method, but have to inject it into mixlib-config directly
# to have it available from config contexts
module Mixlib
module Config