Skip to content

Instantly share code, notes, and snippets.

@rianrainey
Last active August 29, 2015 14:08
Show Gist options
  • Save rianrainey/f3819282c7f20de37d6f to your computer and use it in GitHub Desktop.
Save rianrainey/f3819282c7f20de37d6f to your computer and use it in GitHub Desktop.
Solutions to problems encountered after upgrading to Yosemite on my development machine

Development Environment Solutions After Yosemite Upgrade

Can't start rails -s

  • I was missing minitest. By running gem install rails, it installed missing dependencies and thus fixed the minitest error. reference

  • Can't initialize': could not connect to server: Connection refused (PG::Error) reference

cd /usr/local/var/postgres
mkdir pg_tblspc pg_twophase pg_stat_tmp
pgstop
pgstart
rails -s # Should successfully startup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment