Add pg and rails_12factor gem for heroku