Warning! PATH is not properly se

2021-01-07  本文已影响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

上一篇下一篇

猜你喜欢

热点阅读