Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
Add preflight check for Xcode w/CLT to bootstrap script
Browse files Browse the repository at this point in the history
Along with some step by step instructions for how to install the CLT as
it's not the most obvious thing in the world, especially for non-technical
folk.
  • Loading branch information
rodjek committed Jan 25, 2013
1 parent 7b59fbd commit a07a00d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/views/splash/script.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ if [ $? != 0 ]; then
exit 1
fi

if [ ! -f /usr/bin/gcc ]; then
printf "%s\n" $'
You need to have Xcode with Command Line Tools installed before you can
continue.

1. Go to the App Store and install Xcode.
2. Start Xcode.
3. Click on Xcode in the top left corner of the menu bar and click on
Preferences.
4. Click on the Downloads tab.
5. Click on the Install button next to Command Line Tools.'
exit 1
fi

# show the banner and wait for a response
printf "%s" $'\e[1;32m
######## ####### ## ## ######## ## ##
Expand Down

0 comments on commit a07a00d

Please sign in to comment.