improved rvm_path and rvm_ruby_version usage