Commit 70ca3a47 by hkim823

fixing create-dev-env.sh to use Brewfile

parent c82e4ede
...@@ -307,11 +307,11 @@ EO ...@@ -307,11 +307,11 @@ EO
command -v brew &>/dev/null || { command -v brew &>/dev/null || {
output "Installing brew" 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 || { command -v git &>/dev/null || {
output "Installing git" output "Installing git and Brewfile bundle"
brew install git brew install && brew bundle $BASE/edx-platform/Brewfile
} }
;; ;;
......
...@@ -69,10 +69,10 @@ EO ...@@ -69,10 +69,10 @@ EO
fi fi
output "Installing OSX requirements" output "Installing OSX requirements"
if [[ ! -r $BREW_FILE ]]; then # 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" # error "$BREW_FILE does not exist, please include the brew formulas file in the edx-platform/Brewfile"
exit 1 # exit 1
fi # fi
# for some reason openssl likes to be installed by itself first # for some reason openssl likes to be installed by itself first
brew install openssl brew install openssl
......
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