卸载rvm后,我在打开一个新的终端会话时得到以下信息:
Last login: Tue Mar 26 22:39:30 on ttys000
-bash: /etc/profile.d/sm.sh: No such file or directory
-bash: /etc/profile.d/rvm.sh: No such file or directory
~\ $
如何确定来自哪里?
-bash: /etc/profile.d/sm.sh: No such file or directory
-bash: /etc/profile.d/rvm.sh: No such file or directory
我通过在装有Mountain Lion的Mac上运行此安装程序http://railsinstaller.org/来安装rvm。我为该软件包运行了卸载程序。这本来应该是unintall rvm,但还有一些痕迹。毕竟我不会使用rvm,因为在安装红宝石时会出现一些openssl问题。
答案 0 :(得分:1)
检查/etc/profile
:
source /etc/profile.d/sm.sh
source /etc/profile.d/rvm.sh
如果是这种情况,请报告Railsinstaller的错误:https://github.com/railsinstaller/railsinstaller-nix/issues