.rvmrc: fork: Resource temporari
2019-04-01 本文已影响0人
叶舞清风
/Users/xxx/.rvmrc: fork: Resource temporarily unavailable
/Users/xxx/.rvmrc: line 1: Run: command not found
/Users/xxx/.rvm/scripts/rvm: fork: Resource temporarily unavailable
/Users/xxx/.rvm/scripts/rvm: fork: Resource temporarily unavailable
RVM not loaded, aborting.
/Users/xxx/.rvmrc: line 1: Run: command not found
/Users/xxx/.rvm/scripts/functions/version: fork: Resource temporarily unavailable
RVM version is installed, yet version 1.29.4 (latest) is loaded.
Please open a new shell or run one of the following commands:
rvm reload
echo rvm_auto_reload_flag=1 >> ~/.rvmrc # OR for auto reload with msg
echo rvm_auto_reload_flag=2 >> ~/.rvmrc # OR for silent auto reload
终端一直打印这个
造成问题的原因就是:当时由于好奇输入了
echo rvm_auto_reload_flag=2 >> ~/.rvmrc # OR for silent auto reload
这一行命令。结果在 活动监视器 中看到 终端 运行了 866 进程 1356线程
解决方法:还在尝试中
第一步:删除与Rvm相关的环境变量(貌似问题得到了缓解)
vim ~.bash_podfile
已经确定了 删除了安装rvm时自动创建的环境变量文档,然后就可以了
但是 rvm: command not found 还是有这个问题
解决方法:
网址:https://stackoverflow.com/questions/11677771/rvm-command-not-found-mac-ox
完全 删除Rvm的脚本
#!/bin/bash/usr/bin/sudo rm -rf $HOME/.rvm $HOME/.rvmrc/etc/rvmrc/etc/profile.d/rvm.sh/usr/local/rvm /usr/local/bin/rvm/usr/bin/sudo /usr/sbin/groupdel rvm/bin/echo "RVM is removed. Please check all.bashrc|.bash_profile|.profile|.zshrc for RVM source lines and delete or comment out if this was a Per-User installation."