lib/codelation/development/dependencies.rb in codelation-cli-0.0.8 vs lib/codelation/development/dependencies.rb in codelation-cli-0.0.9

- old
+ new

@@ -4,16 +4,19 @@ class Cli < Thor private # Install dependencies for building and installing everything else. def install_dependencies - print_command("Installing Homebrew from http://brew.sh") - `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"` + unless `which brew`.length > 1 + print_command("Installing Homebrew from http://brew.sh") + print_command("Re-run `codelation developer:install after Homebrew has been installed`") + sleep 3 + exec('ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"') + end run_command("brew install bash") run_command("brew install git") run_command("brew install imagemagick") - run_command("brew install make") run_command("brew install openssl") run_command("brew install v8") run_command("brew install wget") end end