On OS X Mavericks, whenever I open up iTerm (or the default Terminal), the following message appears:
-bash: /etc/profile.d/sm.sh: No such file or directory -bash: /etc/profile.d/rvm.sh: No such file or directory
This slows down the process of opening a new terminal instance, so it is very annoying. The normal command line will work after those messages pop up. I noticed this started happening after I upgraded from OS X 10.8 to 10.9. I'm not sure why this is happening, is there any way I can address this problem?
Edit: The problem is because RVM was installed on 10.8, but was removed in the upgrade to 10.9. However, it didn't remove what it modified in
/etc/profile. I just removed the two lines that it added, and then it removed the notice.