Skip to content

Instantly share code, notes, and snippets.

@paulkaplan
Created October 18, 2014 15:50
Show Gist options
  • Select an option

  • Save paulkaplan/d6232bf61274b1f461f6 to your computer and use it in GitHub Desktop.

Select an option

Save paulkaplan/d6232bf61274b1f461f6 to your computer and use it in GitHub Desktop.

Revisions

  1. paulkaplan created this gist Oct 18, 2014.
    17 changes: 17 additions & 0 deletions yosemite_fixes.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    # xcode command line tools are gone
    # reinstall them
    xcode-select --install

    # Pow is broken, update to 0.5.0
    curl get.pow.cx | sh

    # PG is broken, Yosemite removes needed dirs
    # http://stackoverflow.com/questions/25970132/pg-tblspc-missing-after-installation-of-os-x-yosemite-beta
    mkdir /usr/local/var/postgres/pg_tblspc
    mkdir /usr/local/var/postgres/pg_twophase
    mkdir /usr/local/var/postgres/pg_stat_tmp

    # Anything that uses ruby 1.9.2-p326 is broken
    # Don't know how to fix it, so just upgrade to another ruby version
    # 1.9.3-p392 seems to work just fine
    # change the .ruby_version file as needed