[英]A RVM version () is installed yet 1.25.14 (master) is loaded
I was trying to install ruby using Homebrew and RVM and after I installed RVM terminal (was about to start installing ruby 2.0.0) accidentally quit and when I reopened it I had the error: 我试图使用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.
and when I try rvm reload
I get: 当我尝试rvm reload
我得到:
-bash: cat: No such file or directory
ERROR: Missing proper 'which' command. Make sure it is installed before using RVM!
[Process completed]
To make this situation even worse when I try most commands i get that same error: 为了使这种情况在我尝试大多数命令时变得更糟,我得到了相同的错误:
" -bash: command: No such file or directory "
also my permissions to view my .bash_profile
are denied. 我查看.bash_profile
权限也被拒绝。 I'm using OSX 10.9.1
我正在使用OSX 10.9.1
thanks. 谢谢。
Try: 尝试:
sudo rm -rf /users/your_username/.rvm
Then close and reopen the terminal. 然后关闭并重新打开终端。
There should also be a disk repair utility for MacOS that repairs file permissions too (something in /Applications/Utilities) 还应该有一个用于MacOS的磁盘修复实用程序,它也可以修复文件权限(/ Applications / Utilities中的内容)
On that note, make sure you don't have MacPorts installed as well. 关于这一点,请确保您还没有安装MacPorts。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.