summaryrefslogtreecommitdiff
path: root/lib/chef/win32/registry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/win32/registry.rb')
-rw-r--r--lib/chef/win32/registry.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/win32/registry.rb b/lib/chef/win32/registry.rb
index b1365fd61b..b1a2258975 100644
--- a/lib/chef/win32/registry.rb
+++ b/lib/chef/win32/registry.rb
@@ -16,13 +16,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require "chef/reserved_names"
-require "chef/win32/api"
-require "chef/mixin/wide_string"
+require_relative "../reserved_names"
+require_relative "api"
+require_relative "../mixin/wide_string"
if RUBY_PLATFORM =~ /mswin|mingw32|windows/
- require "chef/monkey_patches/win32/registry"
- require "chef/win32/api/registry"
+ require_relative "../monkey_patches/win32/registry"
+ require_relative "api/registry"
require "win32/registry"
require "win32/api"
end