Skip to content

Instantly share code, notes, and snippets.

@antonrogov
Created November 18, 2011 08:32
Show Gist options
  • Save antonrogov/1375905 to your computer and use it in GitHub Desktop.
Save antonrogov/1375905 to your computer and use it in GitHub Desktop.
MBA setup
sudo tmutil disablelocal
ssh-keygen -t rsa -b 4096 -N ""
chsh -s /bin/zsh
# install dotfiles
rehash
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
# echo 'export PATH="/usr/local/sbin:/usr/local/bin:$PATH"' >> .zshrc
rehash
fetch https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.7-v2.pkg
# fetch https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.6.pkg
open GCC-10.7-v2.pkg
git config --global user.name "Anton Rogov"
git config --global user.email you@example.com # TODO: change this
brew install git
brew install readline
brew install mongodb
brew install mysql
brew install memcached
brew install imagemagick
brew install rbenv
brew install ruby-build
mkdir -p ~/.rbenv/plugins
cd ~/.rbenv/plugins
git clone https://github.com/sstephenson/rbenv-vars.git
cd
CONFIGURE_OPTS="--with-readline-dir=$(brew --prefix readline)" rbenv install 1.9.3-p0
CONFIGURE_OPTS="--with-readline-dir=$(brew --prefix readline)" rbenv install ree-1.8.7-2011.03
rbenv global 1.9.3-p0
rbenv rehash
# echo 'export PATH="~/.rbenv/shims:$PATH"' >> .zshrc
rehash
gem install bundler heroku rails --no-ri --no-rdoc
heroku plugins:install git://github.com/ddollar/heroku-accounts.git
heroku accounts:add personal
heroku accounts:add fs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment