Mac(Snow Leopard)でpgのgemインストール。

% sudo port install postgresql84
% export PATH=/opt/local/lib/postgresql84/bin:${PATH}
% env ARCHFLAGS="-arch x86_64" sudo gem install pg

CentOS 5.3

$ sudo yum install postgresql84-devel
$ sudo gem install pg

Comments


Option