[英]A RVM version () is installed yet 1.25.14 (master) is loaded
我試圖使用Homebrew和RVM安裝ruby,並且在安裝RVM終端(即將開始安裝ruby 2.0.0)后意外退出,並且在我重新打開它時出現錯誤:
A RVM version () is installed yet 1.25.14 (master) is loaded.
Please do one of the following:
* 'rvm reload'
* open a new shell
* 'echo rvm_auto_reload_flag=1 >> ~/.rvmrc' # for auto reload with msg.
* 'echo rvm_auto_reload_flag=2 >> ~/.rvmrc' # for silent auto reload.
當我嘗試rvm reload
我得到:
-bash: cat: No such file or directory
ERROR: Missing proper 'which' command. Make sure it is installed before using RVM!
[Process completed]
為了使這種情況在我嘗試大多數命令時變得更糟,我得到了相同的錯誤:
" -bash: command: No such file or directory "
我查看.bash_profile
權限也被拒絕。 我正在使用OSX 10.9.1
謝謝。
嘗試:
sudo rm -rf /users/your_username/.rvm
然后關閉並重新打開終端。
還應該有一個用於MacOS的磁盤修復實用程序,它也可以修復文件權限(/ Applications / Utilities中的內容)
關於這一點,請確保您還沒有安裝MacPorts。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.