aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compilers.rb
diff options
context:
space:
mode:
authorJack Nagel2013-12-03 22:16:37 -0600
committerJack Nagel2013-12-03 22:16:37 -0600
commitac1fd380759ebe9aa3fe42465cd5d38b209c32b5 (patch)
tree1f1b8d2eba76fe4bc6dd7c1a3fc0d5b288f15da6 /Library/Homebrew/compilers.rb
parent9f2d4f7f8234765e48c839ee835a9a27de0e1b7a (diff)
downloadhomebrew-ac1fd380759ebe9aa3fe42465cd5d38b209c32b5.tar.bz2
Make CompilerSelectionError an InstallationError
Fixes #19962.
Diffstat (limited to 'Library/Homebrew/compilers.rb')
-rw-r--r--Library/Homebrew/compilers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb
index 6f5b570b0..9561fc0fb 100644
--- a/Library/Homebrew/compilers.rb
+++ b/Library/Homebrew/compilers.rb
@@ -73,7 +73,7 @@ class CompilerSelector
end while @f.fails_with?(cc)
if cc.nil?
- raise CompilerSelectionError
+ raise CompilerSelectionError.new(@f)
else
cc.name
end