Merge pull request #5705 from maxim-belkin/build-tools-text-fix

exceptions.rb: move alternative solution to a new line
This commit is contained in:
Mike McQuaid 2019-02-11 13:47:07 +00:00 committed by GitHub
commit 8c3a46a087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -463,14 +463,14 @@ 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
message << <<~EOS if bottled
Alternatively, remove the #{flag_text} to attempt bottle installation.
EOS