From: naruse@... Date: 2017-07-14T08:48:35+00:00 Subject: [ruby-core:82058] [Ruby trunk Bug#13521][Third Party's Issue] [PATCH] Add fallback for DNS resolver registry key on Wine Issue #13521 has been updated by naruse (Yui NARUSE). 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. ---------------------------------------- Bug #13521: [PATCH] Add fallback for DNS resolver registry key on Wine https://bugs.ruby-lang.org/issues/13521#change-65789 * Author: larskanis (Lars Kanis) * Status: Third Party's Issue * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.4.1p111 (2017-03-22 revision 58053) [x64-mingw32] * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- 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-------------------------------- 0001-Add-fallback-for-DNS-resolver-registry-key-on-Wine.patch (1.17 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: