Charles Oliver Nutter

Results 956 comments of Charles Oliver Nutter
trafficstars

Ok I see now that we override the ARCH_FLAG on Mac to be `-arch` with either `x86_64` or `aarch64`. I think `aarch64` is appropriate for Linux, but MacOS may want...

Relevant code is here: https://github.com/jruby/jruby/blob/68764c6fee4811dfbd7996504da9400cab61d61d/core/src/main/java/org/jruby/ext/rbconfig/RbConfigLibrary.java#L440-L446

This seems to be a case where MacOS prefers `arm64` instead of `aarch64` for the OS, so I have pushed https://github.com/jruby/jruby/pull/7132 to fix this in JRuby 9.3.4.0. This *might* be...

I've merged the fixes into JRuby's 9.3.x branch and they will go out sometime soon in 9.3.4.

The patch mostly changes how we set up some static configuration data. You could make the same changes in some code preamble. I'm not at my desk but I can...

And by code preamble, I mean making sure to load a file that corrects those bad values before RubyGems runs install scripts. Editing RG source in place is another option....

The 9.4 builds from master are probably a little premature, since they are currently transitioning to Ruby 3.1 compatibility. A nightly build of 9.3 would be better but may not...

An updated 9.3.4 build should appear here soon: https://oss.sonatype.org/content/repositories/snapshots/org/jruby/jruby-dist/9.3.4.0-SNAPSHOT/

> its giving me a weird error with our code I would also very much like to know what the error was! We are trying to work towards stabilizing master...

This really should be fixed in JRuby 9.3.4.0. can you confirm you are getting an error running 9.3.4.0 or higher and not 9.3.3.0?