diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-11-02 15:48:28 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-11-02 15:48:34 +0900 |
| commit | 42f368ead50bb51935026f54d698fe18780230d2 (patch) | |
| tree | 4c7ebfed90308b07dfe30905b3c4fc69fdfd8e14 | |
| parent | e10f7c9d5b7c3097cd0d7bc3b7b7bbd2078c02cc (diff) | |
Surpressing additional message if it missed to detect gem name
| -rw-r--r-- | lib/bundled_gems.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb index a00de692ea..ceb546f580 100644 --- a/lib/bundled_gems.rb +++ b/lib/bundled_gems.rb @@ -108,7 +108,9 @@ module Gem::BUNDLED_GEMS break end end - msg += " Also contact author of #{caller_gem} to add #{gem} into its gemspec." + if caller_gem + msg += " Also contact author of #{caller_gem} to add #{gem} into its gemspec." + end end else msg += " Install #{gem} from RubyGems." |
