的问题很简单:无法安装RVM的单用户版
我不能安装RVM(单用户安装),因为如果我按照RVM网站上的说明,那就是:
$ curl -L https://get.rvm.io | bash -s stable
# 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 $?
;;
以下是错误消息:
我在安装脚本文件(与回声开始的行)的360线得到许可被拒绝错误
olivier @〜$ curl -L https://get.rvm.io |庆典-s稳定
庆典:行360:在/ usr /本地/ RVM/RELEASE:权限被拒绝
如果我在上面的命令 “打击” 之前加上 “sudo” 时,它工作正常,但然后是多用户安装...
什么行导致该错误? –
@Sergio:增加了部分安装脚本,提出问题 – citraL
我怀疑你的'〜/ .rvm'目录是存在的,而你没有对它的写入权限。删除它并重试。 –