diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 782ba830be..183551578c 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -463,15 +463,15 @@ class BuildFlagsError < RuntimeError require_text = "requires" end - message = <<~EOS.chomp! + message = <<~EOS The following #{flag_text}: #{flags.join(", ")} #{require_text} building tools, but none are installed. #{DevelopmentTools.installation_instructions} EOS - message << <<~EOS.chomp! if bottled - \nAlternatively, remove the #{flag_text} to attempt bottle installation. + message << <<~EOS if bottled + Alternatively, remove the #{flag_text} to attempt bottle installation. EOS super message