rbenv: idiomatic directory paths

Closes #17722.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>