惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - Franky
N
Netflix TechBlog - Medium
Google Online Security Blog
Google Online Security Blog
月光博客
月光博客
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
V
V2EX
腾讯CDC
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
M
MIT News - Artificial intelligence
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
aimingoo的专栏
aimingoo的专栏
博客园 - 三生石上(FineUI控件)
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
The Cloudflare Blog
Blog — PlanetScale
Blog — PlanetScale
F
Full Disclosure
G
Google Developers Blog
罗磊的独立博客
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Y
Y Combinator Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
A
About on SuperTechFans
IT之家
IT之家
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队
GbyAI
GbyAI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
The Register - Security
The Register - Security
U
Unit 42
D
Docker
Martin Fowler
Martin Fowler
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
阮一峰的网络日志
阮一峰的网络日志
C
Cybersecurity and Infrastructure Security Agency CISA
博客园_首页
Google DeepMind News
Google DeepMind News

RubyInstaller for Windows

Ruby-4.0 is available in the Microsoft Store Ruby Version Manager 4 Windows 1.0.0 released RubyInstaller for ARM64 RubyInstaller 3.3.0-1 released RubyInstaller 3.2.2-1, 3.1.4-1, 3.0.6-1 and 2.7.8-1 released RubyInstaller 3.2.1-1 released RubyInstaller 3.2.0-1 released RubyInstaller 3.1.3-1, 3.0.5-1 and 2.7.7-1 released RubyInstaller 3.1.2-1, 3.0.4-1, 2.7.6-1 and 2.6.10-1 released
RubyInstaller 3.4.1-2 released with a new package for ARM64
Lars Kanis · 2025-01-19 · via RubyInstaller for Windows

RubyInstaller-3.4.1-2 has been released! It features a brand-new package for Windows on ARM. See the ruby-3.4.0 release post and the RubyInstaller-CHANGELOG for more details.

Last November I started a fundraiser to purchase a new laptop with ARM processor, used to port and maintain the RubyInstaller for ARM. This fundraiser was successful and I started to work on the new port.

Now Ruby-3.4.1 is available as a ARM package, but not only that: Ruby-head is available here.

ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [aarch64-mingw-ucrt]
ruby 3.5.0dev (2025-01-19 master f27ed98eff) +PRISM [aarch64-mingw-ucrt]

The RubyInstaller-Devkit package consists of the LLVM based C and C++ compilers which run natively on ARM. This makes the package almost twice as big than the x64/x86 versions. In contrast the MSYS2 toolset, which provides Unix tools like make and bash, is not yet ported to ARM. It is delivered as x64 code, running on the Prism emulator of Windows-11. That’s why only the RubyInstaller version without Devkit will work on Windows-10.

The ARM version required some changes to the side-by-side DLL loading mechanism and it is solved in such a way, that also fixes a longstanding issue on x64/x86. Unfortunately these changes are too heavy to be backported to ruby-3.3 and older, so that no ARM package of these older ruby versions will be released.

Next steps to the ruby ecosystem will follow like adding aarch64-mingw-ucrt support to rake-compiler-dock. This way binary gems (nokogiri, sqlite3, etc.) can be provided for the new platform. Fixing issues of bundler and some other gems are in the works as well.

Please note, that some gems are not yet compatible with Ruby-3.4 on Windows on ARM. In this case you might use the Ruby-3.3 x64 version, which is well supported.

Beside the work on ARM there’s also some work pending to add RubyInstaller to the Microsoft Store. A first necessary change was made to the uninstaller. It now removes installed gems and MSYS2 per default. So be careful running the unins000.exe file in the ruby install directory! The old behavior can be get with the option /allfiles=no as described in the wiki.

As always: A previous RubyInstaller-3.3.x or 3.2.x installation should not be updated by installing RubyInstaller-3.4.x into the same directory. This is because gems with C extensions are not compatible between ruby-3.3 and 3.4. It’s best to use a new directory for 3.4.x as proposed by the installer.

All binaries are available in the Download section!

PS: I’ve got a Lenovo YOGA notebook with Snapdragon X processor and it has indeed impressive performance. It even outperforms my desktop computer when running compiler tasks. Windows runs fine including WSL2 but also Ubuntu is very usable already.