brianc / node-libpq

Simple, low level native bindings to PostgreSQL's libpq from node.js
112 stars 42 forks source link

Newest version fails to install with pg_config installed outside of /usr #16

Closed Nopik closed 9 years ago

Nopik commented 9 years ago

In case of BOSH installs pg_config is somewhere under /var/vcap/. Previous libpq was working fine, this one stopped to work.

Suggested workaround: check if pg_config is in path first. If not, then look for it.

brianc commented 9 years ago

@Nopik - thanks for that. Does this look like it will fix things for you?

https://github.com/brianc/node-libpq/pull/17

Nopik commented 9 years ago

It looks right.

brianc commented 9 years ago

K - I'll merge & bump the version - wanna try after that?

brianc commented 9 years ago

@Nopik published libpq@1.6.2 -- it should automatically be picked up next time you try to npm install pg-native

Nopik commented 9 years ago

It works now, thanks!