Support for the Ruby 2.4 series has ended. See here for reference.
The default port for LDAPS
URIs is 636, and the scheme is 'ldaps:' rather than 'ldap:'. Other than that, LDAPS
URIs are identical to LDAP
URIs; see URI::LDAP
.
A Default port of 636 for URI::LDAPS