These are my personal instructions for setting up a Ruby development machine. These instructions assume you're rebuilding your machine from scratch. That's just how I roll.
A few things to think about:
- media
- photos, music, and videos should all be on external drive
- projects/code
- make sure all Git repos are pushed up
- ignored files that should be kept (config files, etc.)
- everything else should either be in Github, DropBox, or Google
- Boot machine from Mountain Lion thumb drive (hold option during startup)
- Open Disk Utility and erase primary HD
- Begin installation process
Install DropBox
Choose advanced install, selective sync, and only sync the "environment" folder. We'll sync everything else later, but for now we want the environment stuff as quickly as possible.
App Store apps will have to wait until Xcode is done.
chsh -s /bin/zsh
ssh-keygen -t rsa
- Press enter to accept default name.
- Provide a memorable passphrase.
cat ~/.ssh/id_rsa.pub | pbcopy
Paste ssh key into github account
cd setup
./osx.sh
In Keyboard Preference Pane, map Caps Lock to Control. Some changes won't take effect until reboot
cd ../applications
rake
cd ../dotfiles
rake
This will take a very long time, but it shouldn't interfere with the rest of the setup process.
In Xcode preferences, downloads tab
Install remaining App Store apps. Twiddle thumbs.
Use latest installation instructions here.
Run brew doctor
to make sure you're all set.
brew install git hub ack ctags-exuberant
brew install imagemagick
brew install postgresql
Be sure to follow the instructions after installing Postgres.
Use latest installation instructions here.
Do a quick sanity reboot. Don't ask questions.