未找到 Bash 的 RVM 源行,请使用“--auto-dotfiles”标志重新运行此命令来修复它

Sno*_*ash 3 rvm

已删除rvm。当我重新安装时,我得到这个:

    RVM sourcing line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
Run Code Online (Sandbox Code Playgroud)

鉴于我使用了它[~]$ \curl -sSL https://get.rvm.io | bash -s stable --ruby是否希望我使用该dotfiles标志运行此命令?

小智 5

“重新运行此命令”行意味着重新运行 rvm reinstall ruby​​-2.3.3,并添加标志。这对我有用:

[~]$ \curl -sSL https://get.rvm.io | bash -s stable --ruby --auto-dotfiles
Run Code Online (Sandbox Code Playgroud)

...这个想法是将 --auto-dotfiles 添加到您运行的最后一个命令中。