警告!PATH设置不正确,一般是shell初始化文件引起的

编程入门 行业动态 更新时间:2024-10-25 09:26:31
本文介绍了警告!PATH设置不正确,一般是shell初始化文件引起的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

每当我转到带有 .rvmrc 文件的文件夹时,都会出现警告:

Whenever I go to a folder with a .rvmrc file, there is a warning:

Warning! PATH is not properly set up, '/home/me/.rvm/gems/ruby-2.0.0-p247/bin' is not available, usually this is caused by shell initialization files - check them for 'PATH=...' entries, to fix run: 'rvm use ruby-2.0.0-p247'.

我做了 rvm 使用 ruby​​-2.0.0-p247,但警告仍然存在.

I did rvm use ruby-2.0.0-p247, but the warning is still present.

注意:没有错误,我可以很好地运行我的应用程序,但是警告很烦人.有什么想法吗?

Note: There are no errors, Im able to run my application just fine, but the warning is very annoying. Any ideas?

推荐答案

这是一个错误,已通过 github/wayneeseguin/rvm/issues/2050 并于 2013-07-29 19:15:30 -0700 作为 rvm stable 1.21.15 发布

This was a bug and was handled with github/wayneeseguin/rvm/issues/2050 and was released as rvm stable 1.21.15 at 2013-07-29 19:15:30 -0700

更多推荐

警告!PATH设置不正确,一般是shell初始化文件引起的

本文发布于:2023-11-10 06:10:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1574568.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:初始化   不正确   文件   PATH   shell

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!