Commit c5577237 by Sam Stephenson

Mention homebrew/dupes/apple-gcc42 if Homebrew is installed

parent a585d0b9
...@@ -472,8 +472,15 @@ require_gcc() { ...@@ -472,8 +472,15 @@ require_gcc() {
echo "\`llvm-gcc\`. To build older versions of Ruby you must have the official" echo "\`llvm-gcc\`. To build older versions of Ruby you must have the official"
echo "GCC compiler installed on your system." echo "GCC compiler installed on your system."
echo echo
echo "${esc}[1mTO FIX THE PROBLEM${esc}[0m: Install the official GCC compiler using these"
echo "packages: ${esc}[4mhttps://github.com/kennethreitz/osx-gcc-installer/downloads${esc}[0m" if type brew &>/dev/null; then
echo "${esc}[1mTO FIX THE PROBLEM${esc}[0m: Install Homebrew's apple-gcc42 package with this"
echo "command: ${esc}[4mbrew tap homebrew/dupes ; brew install apple-gcc42${esc}[0m"
else
echo "${esc}[1mTO FIX THE PROBLEM${esc}[0m: Install the official GCC compiler using these"
echo "packages: ${esc}[4mhttps://github.com/kennethreitz/osx-gcc-installer/downloads${esc}[0m"
fi
echo echo
echo "You will need to install the official GCC compiler to build older" echo "You will need to install the official GCC compiler to build older"
echo "versions of Ruby even if you have installed Apple's Command Line Tools" echo "versions of Ruby even if you have installed Apple's Command Line Tools"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment