2013-03-01 61 views
0

當試圖on Rails的使用railsinstaller.org他們搞砸我的系統有點後我卸載它這個,我開始一個新的終端每次上安裝Ruby,現在我的終端打印:Bash配置文件搞砸了嗎?

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 

我檢查了我的.bash_profile並沒有提到任何這樣的事情。有什麼想法以及如何解決它?

我的方式運行Mac OS X ...

+0

有你看着你'.bashrc'文件? – AdamT 2013-03-01 22:53:07

+0

'.bashrc'文件中沒有任何內容 – kentcdodds 2013-03-01 22:55:06

+0

查看'〜/ .profile''/etc/profile''/etc/profile.d/*' – Tuxdude 2013-03-01 22:56:26

回答

2

通常情況下,殼源在啓動過程中大量的文件和這些都是來到我的腦海裏常見位置:

~/.bashrc 
~/.profile 
/etc/profile 
/etc/profile.d/*