MAC 和 Postgresql 第二篇
还是说brew安装,之前之后的事
1. 用brew安装postgresql,很忌讳rvm的gcc,要用xcode的command line
2. brew装完要设置路径,就是local那个不然,就会莫名其妙的错误,总用系统的postgresql
重新安装攻略
参考:
http://raulbarroso.com/post/8656188824/installing-postgres-with-brew-in-macosx
http://nextmarvel.net/blog/2011/09/brew-install-postgresql-on-os-x-lion/