Brief instructions for taking a new OS X build and adding just enough development tools.
Install homebrew, a package manager.
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
Update the brew catalogue and install a few likely needed tools, including the compiler toolchain.
brew update
brew install autoconf automake wget git
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/apple-gcc42.rb
Install RVM, the ruby version manager
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Install the version of Ruby we have packaged for production
rvm get head
rvm install 1.9.2-p290
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
And then make that the default Ruby.
source ~/.bash_profile
rvm use ruby-1.9.2-p290 --default
Once you have VMWare registered you may want to enable shared folders. On the Virtual Machine:
sudo apt-get dist-upgrade
sudo apt-get install build-essential linux-headers-generic openssh-server
The dist-upgrade is likely needed as you'll probably find otherwise that you end up with a mismatch between the headers required to compile the sharing extension and the installed kernel.
Now restart the VM, otherwise the next step won't find the correct header files.
In the VMWare Fusion menu is an option for Reinstall/Upgrade VMware tools. Check this. This allows you to mount a virtual CD image like so.
sudo mkdir /media/cdrom
sudo mount /dev/cdrom1 /media/cdrom
Now uncompress the contents and run the enclosed script.
cd ~
sudo tar xvf /media/cdrom/VMwareTools-[TAB complete to find latest version of file name]
cd vmware-tools-distrib
sudo ./vmware-install.pl
After a restart this should now allow any shared folders to appear in /mnt/hgfs.
To get to the point where you're running the bootstrap you probably want to ssh in to the machine and either drop or create a key which allows access to GitHub.