FooBarWidget/passenger — pull request #54 by mpapis (2012-05-24 19:51:14+00:00)
Title: Fix `rvm_path` detection in RVM mixed mode.

in RVM mixed mode, rvm and rubies are installed in system and gemsets are installed in user HOME, this was making the code to falsely detect $HOME/.rvm as rvm_path, while it should be /usr/local/rvm.

This change adds checking for $rvm_path/scripts/rvm which is available only in the isntallation path not in the mixed mode in HOME.