I\'m setting up my development environment in the new macOS Sierra .
First of all, I installed Rbenv, Ruby (2.3.1)
If none of the above works .. like in my case, doing this solved the issue brew install openssl
brew install openssl
FYI: i am using MacOS Catalina