RVM

RVM

RVM警告

920 发布: 2019/7/1 03:21 本文总阅读量

RVM警告

今天利用rvm更新ruby时执行

rvm -v

出现了如下警告:

Warning! PATH is not properly set up, '/.../ruby-2.4.0/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.4.0'.
To ignore this error add rvm_silence_path_mismatch_check_flag=1 to your ~/.rvmrc file.

当然可以按照上面的提示操作…如果是那样就没有必要写这个来记录了…嘿嘿嘿

我是用的是这个:(操作需谨慎,仅供参考哦)

谨慎使用

rvm reset