Skip to content

Instantly share code, notes, and snippets.

@zspencer
Created May 30, 2012 02:04
Show Gist options
  • Save zspencer/2832710 to your computer and use it in GitHub Desktop.
Save zspencer/2832710 to your computer and use it in GitHub Desktop.
Bootstrapping like a boss
#symlink gcc to a non-llvm version installed xCode's CLI tools
if [ -f /usr/bin/gcc-4.2 ]; then
sudo rm /usr/bin/gcc
sudo ln -s /usr/bin/gcc-4.2 /usr/bin/gcc
sudo rm /usr/bin/cc
sudo ln -s /usr/bin/gcc-4.2 /usr/bin/cc
fi
#slap my bootstrap key into the .ssh dir
#install my dotfiles
cp bootstrap_rsa ~/.ssh/id_rsa
cp bootstrap_rsa.pub ~/.ssh/id_rsa.pub
sudo gem install homesick
homesick clone git@repos.zeespencer.com:dotfiles.git
mv ~/.homesick/repos/git\@repos.zeespencer.com\:dotfiles ~/.homesick/repos/dotfiles
homesick symlink dotfiles
brew install git
brew install macvim
(cd ~/.homesick/repos/dotfiles && git submodule init && git submodule update)
#install and compile command-T
sudo gem install bundler
(cd ~/.vim/bundle/command-t && bundle install && rake make)
brew install bash-completion
ln -s "/usr/local/Library/Contributions/brew_bash_completion.sh" "/usr/local/etc/bash_completion.d"
brew install tmux
brew install wget
brew install tree
brew install qt
brew install cmake
brew linkapps
curl -L get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install 1.9.3
rvm use 1.9.3@global
gem install bundler
bundle
rvm install 1.9.2
rvm use 1.9.2@global
gem install bundler
bundle
rvm install 1.8.7
rvm use 1.8.7@global
gem install bundler
bundle
# initialize ALL the repos!
ssh git@repos.zeespencer.com ls /home/git/ | xargs -I{} git clone git@repos.zeespencer.com:{} ~/Projects/{}.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment