https://www.ruby-lang.org/en/ is a dynamic, open source programming language with a focus on simplicity and productivity.
On Windows, https://rubyinstaller.org/ is the most used distribution. It’s based on https://www.msys2.org/ and contains the Ruby Interpreter, precompiled gems (i.e. packages) and a toolchain to compile other gems.
Status
For now, ruby is only available for windows-x64. Emulated version currently fails on Windows 11 arm due to this bug: https://github.com/oneclick/rubyinstaller2/issues/308. It’s supposed to be fixed on Windows 11 arm64 insider, but we could not test it at this time.
We are now working on this to implement the same mechanism (__pioinfo pointer) on windows-arm64. This will allow to have a native version.
Build
You need to install MSYS2 and open a clangarm64 shell. Ruby can be compiled and tested using:
# dependencies pacman -S --noconfirm ruby pacman -S --noconfirm ${MINGW_PACKAGE_PREFIX}-libyaml pacman -S --noconfirm ${MINGW_PACKAGE_PREFIX}-openssl autoreconf -fi ./configure --with-baseruby=$(which ruby) make make test
Note: For now, the resulting binary will fail with “unexpected ucrtbase.dll error”.