adding pg gem
setting the root path