Add ref.; installing pg gem for Rails