Install Xcode 4
The download/install takes a while so start it first. When it finishes downloading you will still need to run it to complete installation.
Note: Make sure you install the XCode Command Line Tools after XCode is done installing. To do this go to Xcodes -> Preferences -> Downloads -> Command Line Tools -> Install. If you don't you might not be able to install brew packages (i.e. brew install wget will fail).*
- Thanks to Rico for posting the fix (http://ricochen.wordpress.com/2012/02/18/installing-git-on-mac-os-x-lion-through-homebrew-error-fix/)
[Homebrew](per homebrew installation page https://github.com/mxcl/homebrew/wiki/installation)
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
Note that Xcode is a pre-req for Homebrew
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
restart terminal
brew install git
http://help.github.com/mac-set-up-git/
Copy over your SSH Keys from your existing machine if you have them and want to carry over your existing SSH configs.
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
Start new shell session
You need to provide the --with-gcc=clang flag because of LLVM issues, else 1.9.3 will not work fix per [this StackOverflow](http:///stackoverflow.com/questions/8032824/cant-install-ruby-under-lion-with-rvm-gcc-issues)
rvm install 1.9.3 --with-gcc=clang
rvm install 1.8.7
rvm notes
rvm install ruby-1.9.3-p374 --with-readline-dir=/opt/local
See if there is anything in the rvm notes you need to take action on. As of this writing the compiler needs to be overridden.
Create a ~/.gemrc file and add the line
gem: --no-ri --no-rdoc
rvm --default 1.8.7
rvmsudo gem install bundler
rvmsudo gem install lunchy
npm install nvm
if [[ -s $HOME/.nvm ]] ; then setopt nullglob NVM_DIR=$HOME/.nvm source $NVM_DIR/nvm.sh fi
nvm install 0.6.5
curl http://npmjs.org/install.sh | sh
gem install vagrant
$ vagrant box add base http://files.vagrantup.com/lucid64.box
$ vagrant init
$ vagrant up
https://github.com/xdissent/ievms
Download and unpack ievms:
Install IE versions 6, 7, 8 and 9.
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash
Install specific IE versions (IE7 and IE9 only for example):
curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | IEVMS_VERSIONS="7 9" bash
Launch Virtual Box.
Choose ievms image from Virtual Box. Install VirtualBox Guest Additions (pre-mounted as CD image in the VM). IE6 only - Install network adapter drivers by opening the drivers CD image in the VM.