Skip to content

Instantly share code, notes, and snippets.

@dendisuhubdy
Forked from mcls/osx_setup.md
Created August 9, 2018 04:06
Show Gist options
  • Select an option

  • Save dendisuhubdy/03cec2d32a0762af6042d8f3306b2a43 to your computer and use it in GitHub Desktop.

Select an option

Save dendisuhubdy/03cec2d32a0762af6042d8f3306b2a43 to your computer and use it in GitHub Desktop.
Setup mac for ruby dev

Setup new Mac with Mavericks from scratch

Install Xcode

Installing Xcode and the command line tools need to be done first because it installs gcc. https://developer.apple.com/xcode/features/

iTerm2

A nice alternative to Terminal.app. http://www.iterm2.com/

Solarized color scheme

A nice color scheme. http://ethanschoonover.com/solarized

Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Note that Xcode is a pre-req for Homebrew.
http://brew.sh/

Set shell to ZSH and install oh-my-zsh

brew install wget
wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh

restart iTerm2

Git

brew install git

Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.

rbenv and ruby-build

brew update
brew install rbenv rbenv-gem-rehash ruby-build
# Install ruby 2.1.2
rbenv install 2.1.2
rbenv global 2.1.2
rbenv rehash

.zshrc

echo 'eval "$(rbenv init -)"' >> ~/.zshrc

Pow

curl get.pow.cx | sh

To get it to work with Apache check: https://github.com/37signals/pow/wiki/Running-Pow-with-Apache

Databases

brew install postgresql mysql

Apps

VLC

VLC is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocols.

http://www.videolan.org/vlc/index.html

Alfred

Alfred is an award-winning productivity application for Mac OS X, which aims to save you time in searching your local computer and the web.

http://www.alfredapp.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment