bundler/lib/bundler/templates/Executable.bundler in rubygems-update-3.2.34 vs bundler/lib/bundler/templates/Executable.bundler in rubygems-update-3.3.0

- old
+ new

@@ -71,10 +71,10 @@ bundler_gem_version = Gem::Version.new(version) requirement = bundler_gem_version.approximate_recommendation - return requirement unless Gem::Version.new(Gem::VERSION) < Gem::Version.new("2.7.0") + return requirement unless Gem.rubygems_version < Gem::Version.new("2.7.0") requirement += ".a" if bundler_gem_version.prerelease? requirement end