The following error appeared upon upgrading JRuby:
OpenSSL::X509::StoreError: setting default path failed: Invalid keystore format
wget http://curl.haxx.se/ca/cacert.pem
sudo keytool -importcert -file cacert.pem -keystore /Users/youruser/.keystore
export SSL_CERT_FILE=/Users/youruser/.keystore
jruby -S gem install whatever
@gbirchmeier @edhana you need to fix any spacing issues in the pem file. You can just run this:
before the step:
Sadly I followed all of the above steps and I am still getting the same error. I'll report back if I figure it out.