Skip to content

4.0.22 Released

Ruby core committer and RubyGems maintainer.

RubyGems 4.0.22 includes enhancements and bug fixes and Bundler 4.0.22 includes enhancements, bug fixes and documentation.

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.22

RubyGems Release Notes

Enhancements:

  • Add –source option to gem exec command. Pull request #9765 by Akshay Birajdar
  • Keep credentials on redirects only within the same origin. Pull request #9909 by Hiroshi SHIBATA
  • Validate the version field in Gem::Installer#verify_spec. Pull request #9890 by Hiroshi SHIBATA
  • Installs bundler 4.0.22 as a default gem.

Bug fixes:

  • Remove the build_info file on uninstall and stop gem build from logging unknown extensions. Pull request #9894 by Hiroshi SHIBATA

Bundler Release Notes

Enhancements:

  • Report the effective platform in bundle platform. Pull request #9898 by Islam Elsayed
  • Keep credentials on redirects only within the same origin. Pull request #9909 by Hiroshi SHIBATA
  • Update Magnus version in Rust extension gem template. Pull request #9904 by Mat Sadler and Hiroshi SHIBATA

Bug fixes:

  • Stop Bundler.bin_path creating the directory it reports. Pull request #9887 by Islam Elsayed and Hiroshi SHIBATA
  • Look up bundler-<command> executables only in PATH. Pull request #9874 by Hiroshi SHIBATA

Documentation:

  • Describe --major as preferring the latest major version. Pull request #9891 by Hiroshi SHIBATA

Manual Installation

To install RubyGems by hand see the Download RubyGems page.

SHA256 Checksums:

  • rubygems-4.0.22.tgz
    e7e58e5b95156ce7419f7d3b2ae9ecc4f7fe7a4c61a5837f90c507206d8cc226
  • rubygems-4.0.22.zip
    e0ff9958d7b7a70508dd5db534149db0aec24fdd41092b6a4dcd3551ffdaafcc
  • rubygems-update-4.0.22.gem
    ad91781554e82a10323a105765ecc583f31a085763bb648a5bb3a4689affa30d