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.
Fix `rvm_path` detection in RVM mixed mode.
pathh - I think that's a typo.
fix pathh -> path
ah yes, sorry for that, fixed
Thanks mpapis, this looks good. We require contributors to sign our contributor agreement before we can merge in their patches. Could you sign it at http://www.phusion.nl/forms/contributor_agreement?
email with agreement sent <3
Thanks Michal. :)