ruby / ruby/resolv

Native extension prevents install on JRuby

Open
#87 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
56
Forks
41
Avg merge
2h 38m
Merged PRs (30d)
7

Description

A native extension was added last year that prevents the gem from being installable on JRuby. We need to either replace that with FFI/fiddle code, pure-Ruby, or a JRuby version.

This relates to https://github.com/jruby/jruby/issues/8649. We do not install the resolv gem at build time for JRuby, but some dependency requires it and can't install because of this extension.

Short term, removing the extension and pushing a -java platform gem would fix all issues installing on JRuby, but we need a long-term solution.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the native extension that blocks installation on JRuby and the related JRuby issue 8649. Compare the proposed FFI/fiddle, pure-Ruby, JRuby-version, and short-term platform-gem approaches; done means the gem and its dependent installation path work on JRuby with an agreed long-term solution.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.