add pg and rails12factor gems