Install pg and rails_12factor gems