MacOS在新终端窗口的主目录中未使用RVM

问题描述

我更改目录后RVM即可工作,但首次加载新的“终端”窗口时RVM无法工作。这会导致一堆错误消息,告诉我我需要使用原始宝石。 +-------------------+--------------------------------------------------+ | Installed Certificate | +-------------------+--------------------------------------------------+ | User ID | 6RP5ZBV9JC | | Common Name | iPhone Distribution: Jim Castrigano (6RP5ZBV9JC) | | Organisation Unit | 6RP5ZBV9JC | | Organisation | Jim Castrigano | | Country | US | | Start Datetime | 2020-08-25 20:11:37 UTC | | End Datetime | 2021-08-25 20:11:37 UTC | +-------------------+--------------------------------------------------+ [15:41:30]: Installing provisioning profile... +---------------------+----------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | Installed Provisioning Profile | +---------------------+----------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | Parameter | Environment Variable | Value | +---------------------+----------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ | App Identifier | | app.jimcastrigano.snipe | | Type | | appstore | | Platform | | ios | | Profile UUID | sigh_app.jimcastrigano.snipe_appstore | ea9d7678-6955-4ddf-be83-bfd722aacd30 | | Profile Name | sigh_app.jimcastrigano.snipe_appstore_profile-name | snipe | | Profile Path | sigh_app.jimcastrigano.snipe_appstore_profile-path | /Users/distiller/Library/MobileDevice/Provisioning Profiles/ea9d7678-6955-4ddf-be83-bfd722aacd30.mobileprovision | | Development Team ID | sigh_app.jimcastrigano.snipe_appstore_team-id | 6RP5ZBV9JC | +---------------------+----------------------------------------------------+------------------------------------------------------------------------------------------------------------------+ 指向系统Ruby。如果我转到另一个目录,则返回它仍使用RVM。如果我加载新的 tab ,它将使用(假设我已更改目录以使其首次加载)。 我的主目录中有一个.ruby-version文件,并且在.bash_profile中,我肯定是正在加载RVM脚本,并且在文件的末尾有which ruby试图使其像这样加载在目录更改上执行。

我似乎无法弄清楚为什么要这么做……这并没有阻止我做任何事情,但这确实很烦人,我想让它停止。有什么想法吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...