add pg and rails_12factor gems