-
Notifications
You must be signed in to change notification settings - Fork 784
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jruby build failed (Apple Silicon M1): waitpid unsupported or native support failed to load #1832
Comments
FWIW I was able to work around this by pulling my Homebrew OpenJDK out of my system's
Note that despite the |
Hmm, that moves me forward to a slightly different error:
It seems like jruby-launcher doesn't have permission to copy the jruby files out of the temp directory into my
Which looks similar maybe to jruby/jruby-launcher#44. I did try setting JAVA_HOME ( |
Oh! So it looks like the install did successfully complete, but the permissions still seem off. I'm speculating that java doesn't have file-system access or something weird like that.
|
Here's the error for a simple
|
@bensheldon hey, did you get through this issue? I'm encountering the exact same issue and can't find any resolution yet |
@reydi I had good luck with the latest versions of jruby. |
The older jruby versions most likely don't support M1 (specifically, the FFI parts). Closing as upstream issue/use latest JRuby. |
Apologies, I wasn't sure whether to add this to #1691, which seems focused on cruby, or to open a jruby-focused issue.
I'm unable to get jruby built successfully on Apple Silicon.
Thank you for the help!
The text was updated successfully, but these errors were encountered: