---
title: "rvm use 的错误"
author: "夜鸣猪"
date: "2012-07-16T22:02:42Z"
tags: []
categories: ["编程语言"]
slug: "rvm-use"
draft: false
lastmod: "2012-07-16T22:02:42Z"
id: 1595741
url: "https://hlee.iteye.com/blog/1595741"
---

> 
> RVM is not a function, selecting rubies with 'rvm use ...' will not work
> 



> 
> ➜  ~  rvm list
> 
> rvm rubies
> 
>    ruby-1.9.2-p290 [ x86_64 ]
>    ruby-1.9.3-p0 [ x86_64 ]
> 
> ➜  ~  rvm use ruby-1.9.3-p0
> 
> RVM is not a function, selecting rubies with 'rvm use ...' will not work.
> 



```sh

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
[[ -s "$home/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"  # This loads RVM 


```