我将我的Macbook主目录从“macbookpro”重命名为“hmumin”。
然后我尝试使用以下方法安装RVM:
$ curl -L https://get.rvm.io | bash -s
但是我收到了错误:
mkdir: /Users/macbookpro/.rvm/src: Permission denied
尝试在以前的主目录中安装RVM会出现此错误吗?
如果我跑:
open /Users/macbookpro
我明白了:
The file /Users/macbookpro does not exist.
然而,如果我跑:
mkdir /Users/macbookpro
我明白了:
mkdir: /Users/macbookpro: Permission denied
这很混乱,我只想安装RVM。
当我输入RVM时,我也会遇到这种类型的错误:
cat: /Users/macbookpro/.rvm/VERSION: No such file or directory
Warning! PATH is not properly set up, '/Users/macbookpro/.rvm/gems/ruby-2.0.0- p353@railstutorial_rails_4_0/bin' is not at first place,
usually this is caused by shell initialization files - check them for 'PATH=...' entries,
it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles',
to fix temporarily in this shell session run: 'rvm use ruby-2.0.0-
p353@railstutorial_rails_4_0'.
-bash: /Users/macbookpro/.rvm/scripts/base: No such file or directory
-bash: /Users/macbookpro/.rvm/scripts/help: No such file or directory
hmumin:~ hmumin$
答案 0 :(得分:0)
听起来您有多个问题,需要先单独解决,然后才能成功安装RVM: