Get the latest cacert.pem
file from wget http://curl.haxx.se/ca/cacert.pem
And set these two ENV vars
export SSL_CERT_DIR=/path-to_pem_dir
export SSL_CERT_FILE=/path-to_pem_file
Re-install your rvm ruby version without the binary.
rvm uninstall <your_ruby_version>
rvm install --disable-binary