Loads RVM or configures Ruby local gem installation if RVM isn't installed. This is based on prezto/modules/ruby.
The recommended way to use Ruby is with The Ruby Version Manager (RVM), which allows for managing multiple, isolated Ruby installations and gem sets in the home directory.
Since RVM is loaded into the shell and is known to override shell commands, it may conflict with shell scripts.
Load this module as late as possible when using RVM since RVM will complain if
it is not first in $PATH
.
When RVM is not detected, local gems are installed in $HOME/.gems
; otherwise, they are by RVM.
The authors of this module should be contacted via the issue tracker.