Created
November 18, 2011 08:32
-
-
Save antonrogov/1375905 to your computer and use it in GitHub Desktop.
MBA setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 [email protected] # 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