Actions
Bug #13521
closed[PATCH] Add fallback for DNS resolver registry key on Wine
Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.1p111 (2017-03-22 revision 58053) [x64-mingw32]
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
Actions
Like0
Like0