1

我将我的操作系统更新为 Maverick,现在我遇到了这个错误,有什么想法可以解决这个错误吗?我确信它不是完全有必要修复它,但是它真的很烦人,因为每次我输入命令时它都会弹出。

警告!PATH 设置不正确,'/usr/local/rvm/gems/ruby-2.0.0-p195/bin' 不是首先出现的,这通常是由 shell 初始化文件引起的 - 检查它们是否有 'PATH=.. .' 条目,它也可能有助于将 RVM 重新添加到您的点文件:'rvm get stable --auto-dotfiles',在此 shell 会话运行中临时修复:'rvm use ruby​​-2.0.0-p195'。

更新

>echo $PATH
/usr/local/rvm/gems/ruby-2.0.0-p247/bin:/usr/local/rvm/gems/ruby-2.0.0-p247@glob‌​al/bin:/usr/local /rvm/rubies/ruby-2.0.0-p247/bin:/usr/local/rvm/bin:/usr/local/bi‌​n:/usr/bin:/bin:/usr/sbin:/sbin:/ usr/local/git/bin:/opt/sm/bin:/opt/sm/pkg/active‌​/bin:/opt/sm/pkg/active/sbin

> echo ${PATH} | awk -v RS=: -v ORS='\n' '{print $0}'
/usr/local/rvm/gems/ruby-2.0.0-p247/bin
/usr/local/rvm/gems/ruby-2.0.0-p247@global/bin
/usr/local/rvm/rubies/ruby-2.0.0-p247/bin
/usr/local/rvm/bin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/git/bin
/opt/sm/bin
/opt/sm/pkg/active/bin
/opt/sm/pkg/active/sbin
4

0 回答 0