add pg and rails_factor12 for heroku