From ede3c5ee0f2ffa616724ef455420ba82c01c49ab Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 4 Aug 2023 18:08:42 +0900 Subject: [PATCH] Use future tense if current version is older than list version --- lib/bundled_gems.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb index 79603d8292..2623e1e96f 100644 --- a/lib/bundled_gems.rb +++ b/lib/bundled_gems.rb @@ -77,7 +77,7 @@ module Gem::BUNDLED_GEMS "#{name} is found in #{gem}" else return - end + " which is not part of the default gems since Ruby #{SINCE[gem]}" + end + " which #{RUBY_VERSION < SINCE[gem] ? "will be" : "is"} not part of the default gems since Ruby #{SINCE[gem]}" end bundled_gems = self