diff --git a/create-dev-env.sh b/create-dev-env.sh index 7ebff77fb2..d0d5c30faa 100755 --- a/create-dev-env.sh +++ b/create-dev-env.sh @@ -203,6 +203,24 @@ case `uname -s` in esac ;; Darwin) + + if [[ ! -w /usr/local ]]; then + cat</dev/null || { output "Installing brew" /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)" @@ -238,7 +256,7 @@ case `uname -s` in command -v coffee &>/dev/null || { output "Installing coffee script" - curl http://npmjs.org/install.sh | sh + curl --insecure https://npmjs.org/install.sh | sh npm install -g coffee-script } ;;