Setup gems and pg