Blog
Back to blog posts
26 Nov 2025
4.0.0.beta2 Released
by Hiroshi SHIBATA
RubyGems 4.0.0.beta2 includes deprecations, enhancements and bug fixes and Bundler 4.0.0.beta2 includes features, performance, 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.0.beta2
RubyGems Release Notes
### Deprecations:
- Deprecate comparing Gem::Version objects with strings. Pull request #9085 by tenderlove
### Enhancements:
- Undeprecate Gem::Version#<=> against strings. Pull request #9110 by byroot
- Installs bundler 4.0.0.beta2 as a default gem.
### Bug fixes:
- Respect
BUNDLE_VERSIONconfig at Gem::BundlerVersionFinder. Pull request #9106 by hsbt
Bundler Release Notes
### Features:
- Support bundle install –lockfile option #9111
- Add support for lockfile in Gemfile and bundle install –no-lock #9059
### Performance:
- Run git operations in parallel to speed things up: #9100
### Enhancements:
- Fixup GH-9085 #9108
- Add go_gem/rake_task for Go native extention gem skeleton #9105
- Keep legacy windows platform, not removed them #9104
### Bug fixes:
- Check for file existence before deletion from cache #9095
Manual Installation
To install RubyGems by hand see the Download RubyGems page.
SHA256 Checksums:
- rubygems-4.0.0.beta2.tgz
56363005d89de2e7d0ffb309ea966eff32e4aba80364366b0aac47cca6536748 - rubygems-4.0.0.beta2.zip
66cda8eaf12a0c20e0b44461c9d6bd33b647c03c333c0c59cd49b8ba7dce5dcf - rubygems-update-4.0.0.beta2.gem
6aa2c4352e176b97982ffe8d85cd285730c04f980b35d093af3975ca8a89c6a7