Last week, everything was fine and dandy. It was a brand new day with lots of code to look forward to when I decided it was time to upgrade my rails version and build an API idea I had been toying with.
It all went down A-OK until it was time to actually create the project and I got the following error:
Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (LoadError)
After browsing and diving in the interwebs for answers, I boiled it down to two probable issues:
You need to upgrade your OpenSSL.
This one is pretty straightforward, type the following into console:
brew install --upgrade openssl
It's not you, it's me: PostgreSQL edition.
At some point, your configs got a bit tangled up and the PostgreSQL gem is right there in the middle of it all. To make it all better you'll need to reinstall the gem, simply type
brew reinstall postgresql
and you're good to go.
I hope you found this helpful, happy coding!
Got something to add? Please feel free to reach out for any question, comment, meme or dog photos swap.