我正在尝试通过ruby
在我的系统(OSX 10.9)上升级RVM
。当我通过RVM upgrade
开始升级过程时,收到以下警告:
Warning! PATH is not properly set up, '/Users/compname/.rvm/gems/ruby-2.0.0-p0/bin' is not at first place,
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.0.0-p0'.
此警告让我觉得我的dot
文件配置不正确。
如何更正此警告?
答案 0 :(得分:0)
看起来您需要将'/Users/compname/.rvm/gems/ruby-2.0.0-p0/bin'添加到$ PATH环境变量的开头:)
要执行此操作(仅限您的用户个人资料),请将以下行添加到〜/ .bash_profile: