Blog
Back to blog posts
17 Dec 2025
4.0.2 Released
by Hiroshi SHIBATA
RubyGems 4.0.2 includes enhancements and Bundler 4.0.2 includes enhancements and bug fixes.
To update to the latest RubyGems you can run:
gem update --system [--pre]
To update to the latest Bundler you can run:
gem install bundler [--pre]
bundle update --bundler=4.0.2
RubyGems Release Notes
Enhancements:
- Pass down value of
BUNDLE_JOBSto RubyGems before compiling & introduce a newgem install -jflag. Pull request #9171 by Edouard-chin - Installs bundler 4.0.2 as a default gem.
Bundler Release Notes
Enhancements:
- Support single quotes in mise format ruby version #9183
- Tweak the Bundler’s “X gems now installed message”: #9194
Bug fixes:
- Allow to show cli_help with
bundlerexecutable #9198 - Allow bundle pristine to work for git gems in the same repo #9196
Manual Installation
To install RubyGems by hand see the Download RubyGems page.
SHA256 Checksums:
- rubygems-4.0.2.tgz
a5fdbcbd3cbd616360fc9b82d75cdfa1aea3cf1aa357496d8aecce6574d85bf8 - rubygems-4.0.2.zip
9f395a4a1c1a6a3a85b94eadc1960d7455818099317ce1111f393a17adb59ae2 - rubygems-update-4.0.2.gem
f9d627eaee40c74d784274aa6ac7d74ddc468223d947f8ade136905944154883