wayneeseguin/rvm — pull request #949 by ryotakatsuki84 (2012-05-06 16:11:33+00:00)
Title: Rvm prefix rvmrc

I'm trying to create an isolated installation of RVM in a non-standard location performed using:

./install --path ~/my/custom/rvm-path

Now I would like to make my installation load a custom .rvmrc under '~/my/custom/' that will be loaded in the same way of how /etc/rvmrc and $HOME/.rvmrc files are. To achieve that, I patched the code so if a rvm_prefix variable is defined (for example in the .bashrc) before loading RVM, it will also consider a .rvmrc file under that prefix in the order: /etc/rvmrc $HOME/.rvmrc ~/my/custom/.rvmrc

That would be similar of how bash --rcfile /path/to/.basrc works (although --rcfile makes bash ignore the standard bashrc files).

Do you think that could be a possible interesting feature to include?