Skip to content

Breaking change for JRuby #69

@Brockfrancom

Description

@Brockfrancom

Version 0.5.0 causes a bundle update to fail. https://github.com/ruby/resolv/pull/57/files is the change I suspect broke it.

When the following snippet is ran in a rails console on a Mac, an error is thrown as shown below:

jruby-9.4.6.0 :001 > require 'mkmf'
 => true 
jruby-9.4.6.0 :002 > have_library('iphlpapi', 'GetNetworkParams')
checking for GetNetworkParams() in -liphlpapi... /Users/brock/.rvm/rubies/jruby-9.4.6.0/lib/ruby/stdlib/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.

I think 'iphlpapi' is a windows library that doesn't exist on Mac.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions