See https://www.ruby-lang.org/en/news/2017/12/25/ruby-2-5-0-released/
CE port: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22555