So, under the hook, rvm uses a variety of environment variables to tell it where to locate things. Out of the box, these variables are current:
rvm_path
- the directory in which rvm is installed (e.g. typically ~/.rvm)rvm_prefix
- basically,${rvm_prefix}rvm
is used to build the defaultrvm_path
. It tells rvm how to build the defaultrvm_path
,rvm_bin_path
andrvm_man_path
. This also relies on thervm_sandboxed
argumentrvm_sandboxed
- tells rvm how to behave when working withrvm_prefix
. See "How does rvm_sandboxed work?" below for more information.