问题很简单:
我无法安装RVM(单用户安装),好像我按照RVM网站上的说明进行操作,即:
$ curl -L https://get.rvm.io | bash -s stable
我在安装脚本文件的第 360 行(以 echo 开头的行)收到权限被拒绝错误:
# Perform the actual installation, first we obtain the source using whichever
# means was specified, if any. Defaults to head.
case "${version}" in
(head)
echo "${branch}" > "$rvm_path/RELEASE"
install_head ${branch:-master} || exit $?
;;
这是错误消息:
olivier@~$ curl -L https://get.rvm.io | bash -s 稳定
bash:第 360 行:/usr/local/rvm/RELEASE:权限被拒绝
如果我在上面的命令中的“bash”之前添加“sudo”,它工作正常,但它是多用户安装......