fixing create-dev-env.sh to use Brewfile

This commit is contained in:
hkim823
2014-02-06 11:10:05 -05:00
parent c82e4ede34
commit 70ca3a4729
2 changed files with 7 additions and 7 deletions

View File

@@ -307,11 +307,11 @@ EO
command -v brew &>/dev/null || {
output "Installing brew"
/usr/bin/ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
}
command -v git &>/dev/null || {
output "Installing git"
brew install git
output "Installing git and Brewfile bundle"
brew install && brew bundle $BASE/edx-platform/Brewfile
}
;;

View File

@@ -69,10 +69,10 @@ EO
fi
output "Installing OSX requirements"
if [[ ! -r $BREW_FILE ]]; then
error "$BREW_FILE does not exist, please include the brew formulas file in the requirements/system/mac_os_x directory"
exit 1
fi
# if [[ ! -r $BREW_FILE ]]; then
# error "$BREW_FILE does not exist, please include the brew formulas file in the edx-platform/Brewfile"
# exit 1
# fi
# for some reason openssl likes to be installed by itself first
brew install openssl