added pg adapter
changed gem file