add pg and activerecord gems