[PATCH] fix rvm_ruby_string calculation, update #2904