senny/rvm.el — pull request #15 by pedz (2011-10-16 04:27:23+00:00)
Title: fix rvm-executable for multi-user install

I'm not sure I did the fork request properly. This is a small change to add /usr/local/rvm/bin/rvm to the list of possible places to look for rvm.

(defcustom rvm-executable
(or (executable-find "rvm")
(and (file-readable-p "~/.rvm/bin/rvm") "~/.rvm/bin/rvm")
(and (file-readable-p "/usr/local/rvm/bin/rvm") "/usr/local/rvm/bin/rvm"))
"Location of RVM executable."
:group 'rvm
:type 'file)