Skip to content

Instantly share code, notes, and snippets.

@wm
Last active December 26, 2015 07:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wm/7117574 to your computer and use it in GitHub Desktop.
Save wm/7117574 to your computer and use it in GitHub Desktop.
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
Copy link

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