scripts/selector in rvm-0.1.39 vs scripts/selector in rvm-0.1.40

- old
+ new

@@ -190,10 +190,10 @@ fi esac __rvm_gemset_select - if [[ ! -z "$rvm_ruby_interpreter" ]] && [[ "system" != "$rvm_ruby_interpreter" ]] && [[ "default" != "$rvm_ruby_interpreter" ]] ; then + if [[ -n "$rvm_ruby_interpreter" && "system" != "$rvm_ruby_interpreter" && "default" != "$rvm_ruby_interpreter" ]] ; then if [[ ! -z "$rvm_ruby_version" ]] ; then rvm_release_version=$(echo $rvm_ruby_version | awk -F'.' '{ print $1 }') rvm_major_version=$(echo $rvm_ruby_version | awk -F'.' '{ print $2 }') rvm_minor_version=$(echo $rvm_ruby_version | awk -F'.' '{ print $3 }') fi