Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

tomiko

macrumors newbie
Original poster
Jun 6, 2010
17
0
i was trying to install homebrew and got some error in the terminal that i had to change my path. so i went to stackoverflow, followed some instruction and change thet PATH to something like usr/local/bin....i don't really remember...but i want to set the PATH to the default...

can someone please help me set the PATH to the default cause now my ruby, rails and others are not working...:(
 
i was trying to install homebrew and got some error in the terminal that i had to change my path. so i went to stackoverflow, followed some instruction and change thet PATH to something like usr/local/bin....i don't really remember...but i want to set the PATH to the default...

can someone please help me set the PATH to the default cause now my ruby, rails and others are not working...:(

Looking at the output of echo $PATH in Terminal here using export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin in your ~/.bash_profile should get you the system default back. Once you have edited the file use source ~/.bash_profile in Terminal to have it re-read and used in the current Terminal shell.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.