From ac8ece81f26f29dc2f9d77fcdb0620a51ba26f1e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 18 Oct 2023 12:40:41 +0900 Subject: Tweak the grammar --- lib/bundled_gems.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb index 1ce2ff9a42..f60c53bd48 100644 --- a/lib/bundled_gems.rb +++ b/lib/bundled_gems.rb @@ -90,10 +90,10 @@ module Gem::BUNDLED_GEMS end def self.build_message(gem) - msg = " which #{RUBY_VERSION < SINCE[gem] ? "will be" : "is"} not part of the default gems since Ruby #{SINCE[gem]}." + msg = " which #{RUBY_VERSION < SINCE[gem] ? "will no longer be" : "is not"} part of the default gems since Ruby #{SINCE[gem]}." if defined?(Bundler) - msg += " Add #{gem} to your Gemfile." + msg += " Add #{gem} to your Gemfile or gemspec." location = caller_locations(2,2)[0]&.path if File.file?(location) && !location.start_with?(Gem::BUNDLED_GEMS::LIBDIR) caller_gem = nil -- cgit v1.2.3