converting to modern rake and a pg dev environment