0
我將我的Macbook主目錄從「macbookpro」更名爲「hmumin」。嘗試安裝RVM時權限被拒絕?
然後我嘗試使用安裝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- [email protected]_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-
[email protected]_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$
請仔細閱讀此之前的帖子:http://stackoverflow.com/questions/5253643/cannot-install-rvm-permission-denied-in-usr-local-rvm – fmendez
已經嘗試過,後是沒有幫助 – user3131148
請花時間格式化您的問題,以便它可讀。因爲你真的很難,因爲你沒有正確使用大寫或創建段落。我們閱讀越容易,我們就越容易回答。 –