lib/berkshelf/chef_config_compat.rb in berkshelf-7.1.0 vs lib/berkshelf/chef_config_compat.rb in berkshelf-7.2.0
- old
+ new
@@ -1,7 +1,7 @@
require "chef-config/config"
require "chef-config/workstation_config_loader"
-require "socket" # FIXME: why?
+require "socket" unless defined?(Socket) # FIXME: why?
module Berkshelf
class ChefConfigCompat
# Create a new Chef Config object.
#