$PATH messed up. please help...

Discussion in 'iMac' started by tomiko, Aug 19, 2013.

  1. tomiko macrumors newbie

    Joined:
    Jun 6, 2010
    #1
    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...:(
     
  2. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #2
    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.
     

Share This Page