This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Description
pushy ubuntu wants postgres to put its lockfile in /var/run/postgres which causes problems when the instructions for this assignment call for running a local postgres. I think the author's OS allows postgres' lockfile to be in /tmp, which causes no friction.
> foreman start
FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.6432.lock": Permission denied
Feeding postres a '-k' switch in the Procfile resolved the problem for me
web: bundle exec rails s -p 4000
pg: postgres -D pg_data -p 6432 -k /tmp