Sha256: 74bcd7384e2af9d74f5bc4b1f4a89406268451698038ee87774151762ef1b660
Contents?: true
Size: 756 Bytes
Versions: 4
Compression:
Stored size: 756 Bytes
Contents
require "thor" module Codelation class Cli < Thor private # Install dependencies for building and installing everything else. def install_dependencies 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 openssl") run_command("brew install v8") run_command("brew install wget") end end end
Version data entries
4 entries across 4 versions & 1 rubygems