Skip to content

Instantly share code, notes, and snippets.

@pantoniotti
Last active December 26, 2015 01:58
Show Gist options
  • Save pantoniotti/7074625 to your computer and use it in GitHub Desktop.
Save pantoniotti/7074625 to your computer and use it in GitHub Desktop.
Full MacOS X Install on new MBP
# Applications
Alfred
Dropbox
TextMate
Evernote
iTerm
Github
SequelPro
Mongohub
FreeMemory
SizeUp
VLC
Maschine
Transmission
Chrome
# Git
# Rbenv
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
echo -e 'export PATH="$HOME/.rbenv/bin:$PATH"' | tee -a ~/.bash_profile
echo -e 'eval "$(rbenv init -)"' | tee -a ~/.bash_profile
# Restart your shell as a login shell so the path changes take effect.
# TODO: avoid the step below, it resets the shell and nothing else is executed
exec $SHELL -l
# Install ruby build as a rbenv plug-in (recommended)
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
# Ruby via rbenv
rbenv install 1.9.3-p125
rbenv global 1.9.3-p125
# Bundler
gem install bundler --no-rdoc --no-ri
rbenv rehash
# Brew
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
brew doctor
# Gemsets through rbenv
brew install rbenv-gemset
# Mysql
brew install mysql
# To auto start MySQL upon booting your Mac, type in the commands below.
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
# Start your MySQL Server by typing the following command:
mysql.server start
# If errors on start :
sudo chmod -R 755 /usr/local/var/mysql
rm -Rf /usr/local/var/mysql/Your-Machine-Name.local.err
# Mongodb
brew install mongodb
# brew update
# brew upgrade mongodb
# Redis
brew install redis
# MacVim
brew install macvim --override-system-vim
# Ben macvim setup
curl http://2ret.com/vim -L -o - | sh
# Passenger
sudo gem install passenger
# Open a new iterm window before typing the next line
# To make the OS record the new install
sudo passenger-install-apache2-module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment