jruby-launcher icon indicating copy to clipboard operation
jruby-launcher copied to clipboard

Installation fails on M1 Mac

Open caleb opened this issue 4 years ago • 0 comments

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?

caleb avatar Nov 05 '21 13:11 caleb