Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Upgrade OSX to Mavericks (Xcode, brew, boxen etc.)

Upgrades

  1. Install Mavericks
  2. Upgrade Xcode via App Store
  3. Launch Xcode to accept terms and auto install components
  4. Run the following commands
  • $ xcode-select --install # install command line tools if you have not already
  • $ boxen
  • $ brew update

Note: If brew fails (either in the boxen step or in the brew one) it is most likely due to uncommitted changes in your brew folder. Do the following then run the command (that failed) again.

  • $ cd /opt/boxen/homebrew
  • $ git add .
  • $ git stash
  • $ boxen

If you need what was not committed you can just pop your stash!

Dev env tests

Snowflake

$ cd ~/src/snowflake
$ bundle; brake db:migrate db:test:prepare
$ brake
# Some errors. Basically it now expects a space text like "Name* Can't be blank" instead
# of "Name*Can't be blank" 
$ foreman start

ICIS Staff

$ cd ~/src/icisstaff
$ bundle; brake db:migrate db:test:prepare
$ foreman start

ICIS Patients

$ cd ~/src/icispatients
$ bundle; brake db:migrate db:test:prepare
$ brake # konacha timed out on some test on first run; second run - no errors
$ foreman start

Use the system

$ open http://icispatients.dev

  • redirected to snowflake.dev
  • logged in and redirected back to icispatients.dev
  • pulled in correct data from icisstaff.dev
  • able to create an appointment

razic commented Oct 24, 2013

thanks, this helped me get back up and running quickly after installing to mavericks 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment