fixing create-dev-env.sh to use Brewfile
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
;;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user