ruby: use https, redirect for other languages.

Closes #24682.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>