Skip to content

Instantly share code, notes, and snippets.

@huobazi
Created November 22, 2012 09:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huobazi/4130278 to your computer and use it in GitHub Desktop.
Save huobazi/4130278 to your computer and use it in GitHub Desktop.
mkdir: 无法创建目录"/usr/local/rvm": 权限不够
单用户模式装 rvn
\curl -L https://get.rvm.io | bash -s stable --ruby
报错:
mkdir: cannot create directory `/usr/local/rvm': Permission denied
or
mkdir: 无法创建目录"/usr/local/rvm": 权限不够
由于之前用sudo来装过多用户rvm所以需要
删除 /usr/local/rvm 和 /etc/rvmrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment