diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-10-12 16:53:19 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-10-13 16:22:09 +0900 |
| commit | fdf0589a954343c963731cf4b9e97fef6de415a3 (patch) | |
| tree | 360d0ab833d0eea4ac170c0973657bbfe9ef2886 /lib | |
| parent | b49346ee7344b6febd69cf2d1dd8161b6a4e774e (diff) | |
Surpressing double warnings
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundled_gems.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb index d9e4d7539c..79714939bd 100644 --- a/lib/bundled_gems.rb +++ b/lib/bundled_gems.rb @@ -116,7 +116,7 @@ end # If loading library is not part of the default gems and the bundled gems, warn it. class LoadError def message - if Gem::BUNDLED_GEMS::SINCE[path] + if Gem::BUNDLED_GEMS::SINCE[path] && !Gem::BUNDLED_GEMS::WARNED[path] warn path + Gem::BUNDLED_GEMS.build_message(path) end super |
