move checking certificates for ruby to scripts/functions/osx-ssl-certs, update #2254
make sure the ruby used to install rubinius uses up to date certificates, closes #2254