Project

General

Profile

Bug #13521

[PATCH] Add fallback for DNS resolver registry key on Wine

Added by larskanis (Lars Kanis) almost 2 years ago. Updated over 1 year ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.1p111 (2017-03-22 revision 58053) [x64-mingw32]
[ruby-core:80919]

Description

Wine doesn't initialize the registry key per default:
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\DataBasePath

Therefore gem install fails with Win32::Registry::Error.

This patch uses the default path for the host file if the requested registry key isn't available. The hosts file itself is available on Wine, but it is empty and (due to the use of the underlying Linux resolver) not particular useful for Ruby.


Files

History

Updated by naruse (Yui NARUSE) over 1 year ago

  • Status changed from Open to Third Party's Issue

As far as I understand this is Wine's issue.
Wine should have the registry key.

Also available in: Atom PDF