美文网首页
Warning! PATH is not properly se

Warning! PATH is not properly se

作者: 我是七月 | 来源:发表于2021-01-07 09:26 被阅读0次

今天发现输入rvm -v时候,突然报一大串警告:

Warning! PATH is not properly set up, '/.../ruby-2.2.2/bin' is not at first place.
Usually this is caused by shell initialization files. Search for 'PATH=...' entries.
You can also re-add RVM to your profile by running: 'rvm get stable --auto-dotfiles'.
To fix it temporarily in this shell session run: 'rvm use ruby-2.2.2'.
To ignore this error add rvm_silence_path_mismatch_check_flag=1 to your ~/.rvmrc file.

用如下命令,顺利解决:
rvm reset

相关文章

网友评论

      本文标题:Warning! PATH is not properly se

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