Setup an OS X development machine
This “work-in-progress(-forever)”-post specifies what needs to be setup for a working development machine. It’s my collection of things to be installed when a new machine arrives (hopefully some day in the near future).
Install Xcode
/Developer
vs App Store
To be honest, I don’t know! I go for App Store for now.
Uninstalling an old version
First check, if an old version in /Developer/
can be removed. If so, go ahead with
$ sudo /Developer/Library/uninstall-devtools --mode=xcodedir
$
There are other options available. Check it out.
Install new version
From App Store install current version of Xcode.
If finished, open Preferences, Downloads, Components and install Command Line Tools. Wait until it’s finished.
You can start other downloads now like Simulators and DocSets, but you can continue with installing packages below.
Install packages
$ # Install homebrew
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
$ brew doctor # check that everything is fine.
$
$ # Install rvm
$ \curl -L https://get.rvm.io | bash -s stable --autolibs=enabled
$
$ # Install ruby / rails / additional gems
$ rvm install 1.9.3 && rvm use --default 1.9.3 && gem install rails
$ rvm install 1.9.3 --patch railsexpress -n railsexpress && rvm use --default 1.9.3-railsexpress && gem install rails
$ rvm list
$ ruby -v # check that it's 1.9.3
$ gem install rcodetools
$
$ # Install brews
$ brew install git hub gist
$ brew install imagemagick
$ brew install swi-prolog
$ # CLI helper
$ brew install bash-completion
Updates
$ brew update
$
Es gibt noch keine Kommentare