Skip to content

Installation fails on M1 MacΒ #43

@caleb

Description

@caleb

When I try to install JRuby with ASDF (which uses ruby-build), it tries to install jruby-launcher which fails on my M1 Mac with the error:

/var/folders/zf/ppjmd8mj7qb8w1849xqyjgp80000gn/T/ruby-build.20211105080558.71908.PwEKZ3/jruby-9.3.1.0 /var/folders/zf/ppjmd8mj7qb8w1849xqyjgp80000gn/T/ruby-build.20211105080558.71908.PwEKZ3 ~
Fetching jruby-launcher-1.1.19-java.gem
Building native extensions. This could take a while...
warning: thread "Ruby-0-Thread-9: /Users/caleb/.asdf/installs/ruby/jruby-9.3.1.0/lib/ruby/stdlib/open3.rb:214" terminated with exception (report_on_exception is true):
NotImplementedError: waitpid unsupported or native support failed to load; see https://github.com/jruby/jruby/wiki/Native-Libraries
  waitpid at org/jruby/RubyProcess.java:936
NotImplementedError: waitpid unsupported or native support failed to load; see https://github.com/jruby/jruby/wiki/Native-Libraries
  waitpid at org/jruby/RubyProcess.java:936

Is this a known issue?

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