diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 2032e9ff1a..ee09063fd9 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -46,7 +46,7 @@ class Caveats s = <<-EOS.undent This formula is keg-only, which means it was not symlinked into #{HOMEBREW_PREFIX}, - because #{f.keg_only_reason}. + because #{f.keg_only_reason.to_s.chomp}. EOS if f.bin.directory? || f.sbin.directory? s << "\nIf you need to have this software first in your PATH run:\n"