Blog
Back to blog posts
29 Jan 2026
4.0.5 Released
by Hiroshi SHIBATA
RubyGems 4.0.5 includes enhancements, bug fixes and documentation and Bundler 4.0.5 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.5
RubyGems Release Notes
Enhancements:
- Removed unused deprecate loading. Pull request #9266 by hsbt
- Validate executable names for invalid characters. Pull request #9257 by hsbt
- Installs bundler 4.0.5 as a default gem.
Bug fixes:
- Fix RubyGems not able to require the right gem:. Pull request #9246 by Edouard-chin
- Remove special behavior for rake. Pull request #9245 by JasonLunn
Documentation:
- Added another usage of pristine command. Pull request #9255 by hsbt
Bundler Release Notes
Enhancements:
- Fix Bundler that re-exec $0 when a
versionis present in the config: #9249
Bug fixes:
- Only use parent source with Git and Path sources #9269
Manual Installation
To install RubyGems by hand see the Download RubyGems page.
SHA256 Checksums:
- rubygems-4.0.5.tgz
f3d3be045119301be1f2dbb4d6ac018a76f2969a367cf072c94ce06392961c75 - rubygems-4.0.5.zip
a890bd73dd7f9382cdf9e89655f8b626eac919080a8e67d5cfffb74ee5bd24d4 - rubygems-update-4.0.5.gem
00f14f539debafb3c207cf4d5af097bd458bc57d12538354275da3ebdc8276a0