Robert Saunders
Joined
710 Experience
7 Lessons Completed
0 Questions Solved
Activity
Posted in Setup MacOS 10.12 Sierra Discussion
I ran the command:
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
And now everytime I open a terminal window I am getting the below at the top of my window:
-bash: /Users/robertsaunders/.bash_profile: line 2: syntax error near unexpected token `source'
-bash: /Users/robertsaunders/.bash_profile: line 2: `if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi source /Users/robertsaunders/.bash_profile'
Please help!