I was installing ruby on rails along with homebrew the other day and was following a step by step list of what to do. I now have this bash syntax error every time I enter the terminal:
-bash: /Users/briggsmcknight/.bash_profile: line 6: syntax error near unexpected token `source'
-bash: /Users/briggsmcknight/.bash_profile: line 6: `if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi source /Users/briggsmcknight/.bash_profile'
Could I get a small step by step breakdown of what I should do to fix this? I believe the syntax error is by "fi" or "source", but do I just retype it again or what?
.bash_profile
file? – Mateusz Szlosek Dec 08 '16 at 19:58