警告!PATH设置不正确,一般是shell初始化文件引起的 [英] Warning! PATH is not properly set up, usually this is caused by shell initialization files

查看:42
本文介绍了警告!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?

推荐答案

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

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

这篇关于警告!PATH设置不正确,一般是shell初始化文件引起的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆