-
Notifications
You must be signed in to change notification settings - Fork 277
Microsoft | Store
Ruby can be installed through the Microsoft Store.
It is a normal per-user installation into C:/Ruby40-x64 without MSYS2-Devkit.
The Devkit can be downloaded after installation by ridk install or through the startmenu "Ruby" entry.
If the installation through the Microsoft Store fails, it often doesn't show an expressive error message.
In this case try the installation on the command line per winget command, which shows more details about it's progress and issues:
winget install "Ruby 4.0" --force
If the store installation fails with an exit code between 1 and 8, they can be checked here: https://jrsoftware.org/ishelp/index.php?topic=setupexitcodes
Ruby can be uninstalled through the system settings, at Apps => Installed apps (or "Apps & features"). On the command line it works like so:
winget uninstall "Ruby 4.0.1-1-x64"