gpt4 book ai didi

rvm - 如何摆脱 RVM 通知

转载 作者:行者123 更新时间:2023-12-04 05:07:47 25 4
gpt4 key购买 nike

有没有办法摆脱警告,当我遍历一个文件夹时,有 .rvmrc文件。

====================================================================================

= NOTICE =

====================================================================================

= RVM has encountered a new or modified .rvmrc file in the current directory =

= This is a shell script and therefore may contain any shell commands. =

= =

= Examine the contents of this file carefully to be sure the contents are =

= safe before trusting it! ( Choose v[iew] below to view the contents ) =

====================================================================================

Do you wish to trust this .rvmrc file? (/home/sam/myrailsapp/.rvmrc)

y[es], n[o], v[iew], c[ancel]> y

最佳答案

According to the documentation :

To turn off the project specific rvmrc functionality in your $HOME/.rvmrc set:
rvm_project_rvmrc=0

我没有 RVM 实例来试用它,但我想这就是您要找的。

我还建议使用 rbenv代替 RVM,用于 the following reasons .

关于rvm - 如何摆脱 RVM 通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15299994/

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