Error installing gem because openssl

I got trouble today installing some gems, because OpenSSL has been removed from OSX and TL;DR

Found a solution on this Github issue, which might apply to more cases where openssl is involved.

October 19, 2015