Skip to end of banner
Go to start of banner

Ruby

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

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

Ruby installer is only available for windows-x64. Emulated version currently fails on Windows 11 arm64 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 implemented the same mechanism (__pioinfo pointer) on windows-arm64 (https://github.com/ruby/ruby/pull/8995 ). This allows to build a native version.

MSYS2 is integrating this work to re-enable clangarm64 package.

Having a RubyInstaller ready after that will be the next step.

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
  • No labels