美文网首页
.rvmrc: fork: Resource temporari

.rvmrc: fork: Resource temporari

作者: 叶舞清风 | 来源:发表于2019-04-01 08:55 被阅读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 还是有这个问题
    解决方法:

    屏幕快照 2019-04-02 下午.png

    网址: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."
    

    相关文章

      网友评论

          本文标题:.rvmrc: fork: Resource temporari

          本文链接:https://www.haomeiwen.com/subject/zpkmbqtx.html