diff options
Diffstat (limited to 'lib/chef/win32/registry.rb')
-rw-r--r-- | lib/chef/win32/registry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/win32/registry.rb b/lib/chef/win32/registry.rb index b1a2258975..c0efa68464 100644 --- a/lib/chef/win32/registry.rb +++ b/lib/chef/win32/registry.rb @@ -23,7 +23,7 @@ require_relative "../mixin/wide_string" if RUBY_PLATFORM =~ /mswin|mingw32|windows/ require_relative "../monkey_patches/win32/registry" require_relative "api/registry" - require "win32/registry" + require "win32/registry" unless defined?(Win32::Registry) require "win32/api" end |