fix rvm_ruby_string calculation