diff --git a/plugins/rvm/rvm.load b/plugins/rvm/rvm.load index 34a2729..b8084b5 100644 --- a/plugins/rvm/rvm.load +++ b/plugins/rvm/rvm.load @@ -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