我在尝试安装 RVM 后收到一条错误消息,我需要帮助找出我收到此消息的原因以及如何修复它。当我打开一个终端窗口时,这是我收到的消息:
-bash: /etc/profile.d/rvm.sh: No such file or directory
我在主目录中有一个 bash 文件夹,但是我没有看到 /etc/profile. 我已经卸载了 RVM,但仍然显示此错误消息,我目前正在运行 Ruby 1.8.7。
运行后rvm implode
我收到以下消息:
Note you may need to manually remove /etc/rvmrc and ~/.rvmrc if they exist still.
Please check all .bashrc .bash_profile .profile and .zshrc for RVM source lines and delete
or comment out if this was a Per-User installation.
Also make sure to remove `rvm` group if this was a system installation.
Finally it might help to relogin / restart if you want to have fresh environment
如果有人对此有任何想法或见解,我很乐意听到您的想法,我有点停滞不前,所以任何建议都会有所帮助。谢谢。