From a (mostly) Ruby on Rails developer.
After doing the below everything seems to work (some of it worked before doing anything), including Ruby, Gems, RVM, Homebrew, VirtualBox/Vagrant VMs, Pow, tmux, git, vim.
- Did a full-disk backup that I can restore from
- Moved out
/usr/local
to avoid super slow install, per option 1 in https://jimlindley.com/blog/yosemite-upgrade-homebrew-tips/:sudo mv /usr/local ~/local
- Upgraded to Yosemite
- Restored
/usr/local
, per option 1 in https://jimlindley.com/blog/yosemite-upgrade-homebrew-tips/:sudo mv ~/local /usr
- installed OS X command line tools when something (git stuff in my prompt?) caused OS X to prompt me (or you could do
xcode-select --install
). Took a while, maybe 1 hour. - Fixed Postgres per http://foobartel.com/2014/10/yosemite-upgrade-postgresql/:
mkdir -p /usr/local/var/postgres/{pg_tblspc,pg_twophase,pg_stat_tmp}/; touch /usr/local/var/postgres/{pg_tblspc,pg_twophase,pg_stat_tmp}/.keep; pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
- Fixed
reattach-to-user-namespace
(that I used for clipboard stuff in tmux) per http://www.adamwadeharris.com/problem-with-tmux-when-upgrading-to-yosemite/:brew update; brew upgrade reattach-to-user-namespace
- Made sure Homebrew was up to date in general (so the previous item is probably redundant):
brew update; brew upgrade
- Uninstalled then reinstalled Pow to get a compatible one per basecamp/pow#452 (comment):
curl get.pow.cx/uninstall.sh | sh; curl get.pow.cx | sh
- Reinstalled Ruby 1.9.3 in RVM so it didn't crash when installing native gems like
json
, per here (later Rubies seem fine):rvm reinstall ruby-1.9.3 --with-gcc=clang
Thanks for sharing this 👍