I've been having SSL issues with rubygems. So far I have manually updated rubygems and manually added a new certificate as in this guide. However, I'm getting a new error:
Alexs-MBP:~ alextyshka$ sudo gem install cocoapods
ERROR: While executing gem ... (OpenSSL::X509::StoreError)
What is this and how can I fix it?