devel/ruby-install: Update to 0.8.5
While here, add missing dependency on sudo.
Merging into quarterly branch because it includes it is a leaf port and
update includes only bugfixes. Also fixing dependency.
PR: 267885
(cherry picked from commit fcfeadc2a8dd0cfc7260896e146b02cd1bdeeb88)