diff --git a/lib/bundled_gems.rb b/lib/bundled_gems.rb index 9006a1eba8..3f77d84dab 100644 --- a/lib/bundled_gems.rb +++ b/lib/bundled_gems.rb @@ -102,7 +102,7 @@ module Gem::BUNDLED_GEMS break end end - msg += " Also contact author of #{caller_gem} to add #{name} into its gemspec." + msg += " Also contact author of #{caller_gem} to add #{gem} into its gemspec." end else msg += " Install #{gem} from RubyGems."