Skip to content

Instantly share code, notes, and snippets.

@tiagoefmoraes
Last active August 29, 2015 14:10
Show Gist options
  • Save tiagoefmoraes/cc9bb0cd7fac28bb7680 to your computer and use it in GitHub Desktop.
Save tiagoefmoraes/cc9bb0cd7fac28bb7680 to your computer and use it in GitHub Desktop.
Mac os setup
  1. Go to App Store and install Xcode.
  2. Open and accept the terms
  3. Then go to the terminal and install "Command Line Tools":
xcode-select --install

2. Install Homebrew

  1. Open a terminal window and execute the Homebrew install script:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor

3. Install Homebrew-Cask

brew install caskroom/cask/brew-cask
brew tap caskroom/versions

4. Install Software via Homebrew

brew install git
brew install ant
brew install rbenv
brew install rbenv-gem-rehash
brew install rbenv-binstubs
brew install ruby-build
brew install redis
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents # may change, look redis installation caveats

brew install postgresql
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents # may change, look postgresql installation caveats

brew install freetype libjpeg giflib swftools

#brew cask install google-chrome
brew cask install firefox

brew cask install rubymine633
brew cask install java7

5. Install Tools, Languages

# Install latest version of Ruby
rbenv install 2.1.1
gem update --system
gem install bundler
gem install lunchy # lunchy start postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment