add pg and rails_12factor gem