check for ruby-version or ruby-gemset, rvmrc is depreciated

This commit is contained in:
Matthew Crenshaw 2013-05-21 13:59:56 -04:00
parent 604bcf16c8
commit 6fa69bee2a

View File

@ -12,7 +12,7 @@ function __check_rvm --on-variable PWD --description 'Setup rvm on directory cha
end
break
else
if begin ; test -s ".rvmrc" ; or test -s ".versions.conf" ; end
if begin ; test -s ".rvmrc" ; or test -s ".ruby-version" ; or test -s ".ruby-gemset" ; or test -s ".versions.conf" ; end
rvm reload 1>/dev/null 2>&1
break
else