About Ruby 3.1 with MSYS2
The RubyInstaller project provides a self-contained Windows-based installer that includes a Ruby-language execution environment and a baseline set of required RubyGems and extensions, integrated with a MSYS2 installation.
A Ruby language execution environment with a MSYS2 installation.
The RubyInstaller project provides a self-contained Windows-based installer that includes a Ruby-language execution environment and a baseline set of required RubyGems and extensions, integrated with a MSYS2 installation.
Changed
- Update to ruby-3.1.7, see release notes.
- Apply all security patches that Canonical provides for Ubuntu-20.04 because version 1.1.1 is out of maintanence from the OpenSSL project:
- CVE-2024-2511
- CVE-2024-4741
- CVE-2024-5535
- CVE-2024-9143
- CVE-2024-13176
- Fix automatic pacman package install when using bundler-2.5.x. #396
- Fix pacman install error in parallel bundler install -jX. #403
pacman invocation is now serialized to avoid locking errors.
- Update MSYS2 download version to 2024-12-08 for ridk install 1. #402
- Add junction (directory link) at <ruby>/ssl, which allows to easily find the OpenSSL certificates directory. #399
The certificates directory varies between ruby versions and the junction unifies the location.
It is described in <ruby>/ssl/README-SSL.md.
- Update the SSL CA certificate list.
- Remove installed gems and MSYS2 by the uninstaller per default. #408
So far the uninstaller only removed the ruby install files, but kept installed gems and MSYS2.
The old behaviour is available when running the uninstaller with option /allfiles=no.
See in the wiki.
This is to prepare RubyInstaller for the Microsoft Store.
- Avoid early load of etc.so allowing updates of etc.gem. #388
- Set a single key in gemrc to allow appending to this file. #388
| Publisher | RubyInstaller Team |
|---|---|
| Version | 3.1.7-1 |
| Release date | 2025-03-26 |
| License | BSD-3-Clause |
| Installer type | inno |
| Architecture | x86, x64 |
| Package ID | RubyInstallerTeam.RubyWithDevKit.3.1 |
| Install scope | Current user |
winget install --id=RubyInstallerTeam.RubyWithDevKit.3.1 -ewinget upgrade --id=RubyInstallerTeam.RubyWithDevKit.3.1 -ewinget uninstall --id=RubyInstallerTeam.RubyWithDevKit.3.1 -e"rubyinstaller-devkit-3.1.7-1-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CURRENTUSERRuby 3.1 with MSYS2 adds these commands to the command line: ruby, rubyw.
Yes. Ruby 3.1 with MSYS2 is free and open-source software released under the BSD-3-Clause license.
The latest version is 3.1.7-1, released on Mar 26, 2025.
The download button links to the official installer published on github.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with c643bf00680aa21f20b34587aa0613e9970d9b63adaef2c0228925a7f9cdfc7a.
Ruby 3.1 with MSYS2 runs on Windows and is available for 32-bit (x86), 64-bit (x64) systems.
Run the offline installer with "rubyinstaller-devkit-3.1.7-1-x64.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /CURRENTUSER, or install it with Windows Package Manager: winget install --id=RubyInstallerTeam.RubyWithDevKit.3.1 -e --silent.
Open Settings › Apps › Installed apps, find Ruby 3.1 with MSYS2 and select Uninstall. From the command line, run winget uninstall --id=RubyInstallerTeam.RubyWithDevKit.3.1 -e.