Skip to content

Instantly share code, notes, and snippets.

@Hendrik44
Last active July 12, 2017 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hendrik44/5fa2e192d6c8294c80332ce47c71e741 to your computer and use it in GitHub Desktop.
Save Hendrik44/5fa2e192d6c8294c80332ce47c71e741 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Before running this script be sure Xcode 8 or higher is installed and commandline-tools (xcode-select --install)"
# installing homebrew
if [ ! -f "`which brew`" ]; then
echo "Homebrew is not installed, installing now..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
echo "Running brew doctor"
brew doctor
echo "Upgrading homebrew"
brew upgrade
echo "Installing Ruby, imagemagick, python3 via homebrew"
brew install ruby python3 imagemagick
echo "Updating Gems and cleanup old gems"
sudo gem update -n /usr/local/bin --system
sudo gem update -n /usr/local/bin
sudo gem cleanup
echo "Installing Fastlane..."
sudo gem install -n /usr/local/bin fastlane
echo "Install requests module for python"
sudo pip3 install requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment