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.