gpt4 book ai didi

ruby 经理 RVM 提示 posix

转载 作者:太空宇宙 更新时间:2023-11-03 16:50:35 25 4
gpt4 key购买 nike

我刚刚在运行 rvm get 时收到此消息

RVM can not be run with `set -o posix`, please turn it off and try again.

这也可能是找不到Guard模板文件的原因。

这是什么意思,我该如何解决?

谢谢你

最佳答案

@swenzel 分享的问题/答案有助于理解原因(谢谢),但我认为需要采取精确的步骤来克服此警告。

如前所述here您可能需要为您的用户更改登录 shell,以便默认使用您喜欢的 shell,在我的例子中是 bash,所以我对启动终端的方式进行了一些更改。

建议使用

chsh 但在我的特定情况下,我使用的是 ConEmu Windows TerminalCygwin在 Windows 10 环境中;默认情况下使用 sh.exe 因此此 RVM 警告...chsh在Cygwin中不可用,所以我关注了this reccomendation声明:

it is just a matter of changing (...) whatever shortcut you are using to start cygwin to call {prefered shell here} instead

我希望这是有用的。您好!

关于 ruby 经理 RVM 提示 posix,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23142020/

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