Secret Incantations

Posted by kev Mon, 10 Dec 2007 06:03:00 GMT

Install the do_postgres gem against postgresql82 on MacPorts:

Make sure that /opt/local/lib/postgresql82/bin/ is in your path. You need pg_config easily accessible. Then run:

sudo gem install do_postgres -- --with-pgsql-include-dir=/opt/local/include/postgresql82/ --with-pgsql-lib=/opt/local/lib/postgresql82/

Autotest with Rspec on Merb with a Leopard install using the supplied Ruby (whew)

This will break because it can’t find the “spec command”. It searches the configured bin directory, which with the supplied ruby is /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin.

ln -s /usr/bin/spec /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/spec

Posted in  | no comments

Comments

Comments are disabled