switched to local bundling and chruby
improve postgres plugin