gpt4 book ai didi

ruby - RVM 警告信息

转载 作者:数据小太阳 更新时间:2023-10-29 08:49:13 26 4
gpt4 key购买 nike

安装 RVM 后我收到警告消息:

  • WARNING: You're using ~/.profile, make sure you load it, add the following line to ~/.bash_profile if it exists otherwise add it to ~/.bash_login:
source ~/.profile

这是什么意思?

最佳答案

~/.profile一些发行版供应商(如:debian/ubuntu)使用颜色和基本配置等 shell 配置,此文件适用于 SH - 最小外壳,使用时 Bash它仅在 ~/.bash_profile 时作为最后的手段加载或 ~/.bash_login没有找到。

因为 RVM 不兼容 SH shell 加载 RVM 的行未添加到 ~/.profile即使没有 ~/.bash_profile~/.bash_login可用,而不是 ~/.bash_profile已创建。

现在由您决定是否要将设置移动到 ~/.bash_profile或者更喜欢 source ~/.profile在那里,在某些情况下你可以删除 ~/.profile .

关于ruby - RVM 警告信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17642209/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com