今天查看 rvm 的版本信息,输入 rvm -v,出来以下的提示信息
Warning! PATH is not properly set up, $GEM_HOME is not set, usually this is caused by shell initialization files - check them for 'PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', to fix temporarily in this shell session run: 'rvm use ruby-2.2-head'. rvm 1.26.11 (latest) by Wayne E. Seguin [email protected], Michal Papis [email protected] [https://rvm.io/]
利用这个帖子里面的内容解决方法 没有解决 请问各位同学是如何解决这个问题的,就是 GEM_HOME 的设置问题,不让他出来警告信息,直接输出 rvm 版本号,谢谢