Trying to start my rails server on my development machine gave me this error:
PG::ConnectionBad - could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
Looking at the server log, I found that it was looking for icu4c version 63
but I was on icu4c version 64.2
. Following the instructions here I was able to reinstall icu4c version 63.1
. I could then start my server. Doing psql --version
informed me I was running 11.2
.
But, then when I started my rails console, when I enter a command
I receive the warning message:
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib
Referenced from: /usr/local/bin/node
Reason: image not found
=> true
How do I fix this?