Hello I'm very new with Ruby but I've been tasked to start a deprecated ruby application
I installed the dependencies
- Ruby version
`rbenv install 2.3.1`
`gem install bundle`
`bundle install`
- System dependencies
`brew install postgresql@9.6`
`brew services start postgresql@9.6`
`brew link postgresql@9.6 --force`
Since 9.6 is disabled I'm using 9.5 for postgresql
When I run sudo bundle install (since permisson error)
I run into this error
checking for PQconnectdb() in -lpq... no
checking for PQconnectdb() in -llibpq... no
checking for PQconnectdb() in -lms/libpq... no
Can't find the PostgreSQL client library (libpq)
*** extconf.rb failed ***
I have libpq and postgresql installed by brew..
What am I missing?