diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-08-04 19:23:29 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-08-04 21:12:09 +0900 |
commit | 6b570ff2c0f3383f22a456eee6049715c9276383 (patch) | |
tree | 3a99848f995a332025f2a7c549b0b2d44a9a728b | |
parent | ae8fd392d5b97c650a44db8bbfad24664aa5e995 (diff) | |
download | ruby-6b570ff2c0f3383f22a456eee6049715c9276383.tar.gz |
Display call location with bundled gems warning
-rw-r--r-- | lib/bundler/rubygems_integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb index 664cc12bc8..7c281e5137 100644 --- a/lib/bundler/rubygems_integration.rb +++ b/lib/bundler/rubygems_integration.rb @@ -255,7 +255,7 @@ module Bundler end be = RUBY_VERSION < ::Gem::BUNDLED_GEMS::SINCE[name] ? "will be" : "is" warn "#{name} #{be} not part of the default gems since Ruby #{::Gem::BUNDLED_GEMS::SINCE[name]}." \ - " Add it to your #{target_file}." + " Add it to your #{target_file}.", uplevel: 1 end end kernel_class.send(:no_warning_require, file) |