RubyGems 4.0.0 includes features, performance, enhancements, bug fixes, security, breaking changes, deprecations and documentation and Bundler 4.0.0 includes features, performance, enhancements, bug fixes, security, breaking changes 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.0 RubyGems Release Notes Features: Undeprecate Gem::Version.new(nil) . Pull request #9086 by tenderlove Add pattern matching support to Gem::NameTuple.