Reputation: 29031
When trying to install Ruby on Rails using railsinstaller.org they messed up my system a bit after I uninstalled it and now my terminal prints this every time I start a new terminal up:
Last login: Fri Mar 1 15:01:45 on console
-bash: /etc/profile.d/sm.sh: No such file or directory
-bash: /etc/profile.d/rvm.sh: No such file or directory
I checked my .bash_profile
and it doesn't reference anything like that. Any ideas of what's up and how to fix it?
I'm running Mac OS X by the way...
Upvotes: 0
Views: 170
Reputation: 49473
Usually the shell sources a lot of files during startup and these are common locations that come to my mind:
~/.bashrc
~/.profile
/etc/profile
/etc/profile.d/*
Upvotes: 2