Skip to content

Commit

Permalink
Display call location with bundled gems warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Aug 4, 2023
1 parent ae8fd39 commit 6b570ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/rubygems_integration.rb
Expand Up @@ -255,7 +255,7 @@ def replace_require(specs)
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)
Expand Down

0 comments on commit 6b570ff

Please sign in to comment.