diff options
| author | Misty De Meo | 2013-09-27 20:32:44 -0700 | 
|---|---|---|
| committer | Misty De Meo | 2013-09-27 20:33:15 -0700 | 
| commit | b05b36640da95cfd2fd2087f72669fd9179f1317 (patch) | |
| tree | a38402512e8a88709228b72fadc93b5221f89e15 /Library/Homebrew/exceptions.rb | |
| parent | da8e829649973f7dcdb6d909bb0b8741e78847c0 (diff) | |
| download | homebrew-b05b36640da95cfd2fd2087f72669fd9179f1317.tar.bz2 | |
Adjust CompilerSelectionError message
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 19 | 
1 files changed, 5 insertions, 14 deletions
| diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 986fdeaa9..c0e9a8c73 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -213,20 +213,11 @@ end  # raised by CompilerSelector if the formula fails with all of  # the compilers available on the user's system  class CompilerSelectionError < StandardError -  def message -    if MacOS.version > :tiger then <<-EOS.undent -      This formula cannot be built with any available compilers. -      To install this formula, you may need to: -        brew tap homebrew/dupes -        brew install apple-gcc42 -      EOS -    # tigerbrew has a separate apple-gcc42 for Xcode 2.5 -    else <<-EOS.undent -      This formula cannot be built with any available compilers. -      To install this formula, you need to: -        brew install apple-gcc42 -      EOS -    end +  def message; <<-EOS.undent +    This formula cannot be built with any available compilers. +    To install this formula, you may need to: +      brew install apple-gcc42 +    EOS    end  end | 
