Skip to content

Instantly share code, notes, and snippets.

@sagmor
Last active October 7, 2015 01:38
Show Gist options
  • Save sagmor/3084863 to your computer and use it in GitHub Desktop.
Save sagmor/3084863 to your computer and use it in GitHub Desktop.
Machine Bootstrap

Machine Bootstrap

The idea of this gist is to document all the needed steps to setup a working machine with all the stuff that I need during development.

Requirements

Command Line Tools for Xcode: Download them from XCode or directly from https://developer.apple.com/downloads

# Installing Homebrew
# This what I use to install almost everything else.
# the cool stuff is that it's bloody easy to install :P
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
# Install Dotfiles
sh -c "`curl -fsSL https://raw.github.com/sagmor/dotfiles/master/script/install`"
# Installing Ruby on the Machine
# I do this using rbenv and ruby-build
brew install rbenv
brew install ruby-build rbenv-aliases rbenv-gem-rehash rbenv-vars rbenv-ctags rbenv-default-gems
# Install default ruby
rbenv install 2.1.2
rbenv global 2.1.2
# Install Other Rubies
rbenv install 1.9.3-p484
rbenv install jruby-1.7.9
# Install default gems
gem install pry
brew install mysql
#TODO:
## Install wkhtmltopdf
### https://wkhtmltopdf.googlecode.com/files/wkhtmltopdf.dmg
# MacVim
## Install
brew install macvim
brew linkapps
# Get cooler icon
## http://www.imeos.com/blog/2013/01/04/macvim-replacement-icon/
## http://img.imeos.com/blog/macvim/MacVim.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment