add dependencies for activerecord and pg