diff --git a/core/src/main/java/org/jruby/ext/rbconfig/RbConfigLibrary.java b/core/src/main/java/org/jruby/ext/rbconfig/RbConfigLibrary.java index 3cbfadf11f7..707288d3439 100644 --- a/core/src/main/java/org/jruby/ext/rbconfig/RbConfigLibrary.java +++ b/core/src/main/java/org/jruby/ext/rbconfig/RbConfigLibrary.java @@ -103,6 +103,7 @@ public static String getArchitecture() { String architecture = Platform.ARCH; if (architecture == null) architecture = "unknown"; if ("amd64".equals(architecture)) architecture = "x86_64"; + if ("aarch64".equals(architecture) && Platform.IS_MAC) architecture = "arm64"; return architecture; }