Project

General

Profile

Actions

Bug #13521

closed

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

Added by larskanis (Lars Kanis) almost 7 years ago. Updated almost 7 years ago.

Status:
Third Party's Issue
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

Updated by naruse (Yui NARUSE) almost 7 years 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.

Actions

Also available in: Atom PDF

Like0
Like0