You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains package scripts for MinGW-w64 targets to build under MSYS2.
The main intension of this repository is to provide binary ruby packages for RubyInstaller2 in several versions.
Packages are built on Github Actions when the corresponding directory has changed in the last commit.
They are subsequently signed and uploaded to this github release.
In addition the latest ruby-head snapshot is build and uploaded on a daily base.
The github release also contains pacman database files and is usable as a pacman repository.
It is also possible to add the RubyInstaller repository as a pacman repository in your MSYS2 installation.
Execute this within a MSYS2 shell to download and trust the public signatur key and to add the new package source:
You can then install or update MSYS2-MINGW ruby like so:
pacman -Sy mingw-w64-ucrt-x86_64-ruby31
Build packages for yourself
Second option is to clone git repository to your machine and build it for yourself.
Assuming you have a properly installed MSYS2 environment and build tools, you can build any package using the following command.
Replace ${package-name} with the package name in question:
cd mingw-w64-${package-name}
MINGW_ARCH=ucrt64 makepkg-mingw -sLf
Or in a CMD shell:
cd mingw-w64-${package-name}
ridk enableset MINGW_ARCH=ucrt64
sh -c "makepkg-mingw -sLf"
After that you can install the freshly built package(s) with the following command: