Last active
August 29, 2015 14:06
-
-
Save jgeo/42c6736d0dd67e94e6d2 to your computer and use it in GitHub Desktop.
upgrading to OS X Mavericks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'Please Accept Xcode License' | |
xcode-select --install | |
echo 'Updating Homebrew' | |
brew uninstall postgresql | |
brew uninstall postgresql91 | |
brew uninstall postgis | |
brew uninstall proj | |
brew uninstall geos | |
sudo brew prune | |
cd `brew --cellar` | |
git reset --hard HEAD | |
brew update | |
brew install proj | |
brew tap homebrew/versions | |
brew install postgresql91 | |
brew upgrade | |
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.redis.plist | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist | |
echo 'Reverting to Postgis 1.5.3 and Postgresql 9.1.13' | |
brew install https://gist.githubusercontent.com/jgeo/8e99d19b4bb25bd8c8f5/raw/postgis.rb | |
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start | |
brew install geos | |
echo 'Updating Vim' | |
sh ~/.vim/bin/upgrade | |
echo 'Updating RVM' | |
rvm get stable | |
rvm cleanup all | |
echo "Installing Ruby version $RUBY_VERSION" | |
RUBY_VERSION=2.1.2 | |
rvm install $RUBY_VERSION | |
rvm --default use $RUBY_VERSION | |
echo 'Verify new ruby install' | |
cd ~/git/frontend | |
git checkout develop | |
bundle install | |
rake db:migrate | |
rake db:test:prepare | |
bundle install | |
rvm reload | |
bundle exec rspec spec | |
bundle exec cucumber |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment