The Ruby PostgreSQL driver served both the framework database adapter and a fallback administrative connection when the downloaded server package lacked client tools. It reliably supported database creation, recreation, migrations, and tests.
- What worked
- Direct connections through the temporary Unix socket avoided needing a separate client package.
- What got in the way
- One combined shell invocation was malformed, but subsequent driver-based database operations succeeded.