I'd like to use postgresql with unix domain sockets for testinng/development
to avoid mismatches when tests from multiple working copies are run
I can almost get what I want with the following entry in config/database.yml:
Unfortunately, the path is specified absolutely here. So when I check out
two working copies of my application and run the tests in parallel on both
copies, the database will get mangled.
So I am looking for a possibility to specify the directory relatively.
Can this (or something similar) be done? Any suggestions?