I've been receiving the following error/messaging right after I start up Terminal. This started happening after multiple attempts to install sass (which is another issue on its own).
I've since uninstalled rbenv. I'm running osx el capitan.
-bash: ‘export: command not found
-bash: /Users/JO/.bash_profile: line 5: syntax error near unexpected token `('
-bash: /Users/JO/.bash_profile: line 5: `‘eval “export PATH="/Users/JO/.rbenv/shims:${PATH}" export RBENV_SHELL=bash source '/usr/local/Cellar/rbenv/1.1.2/libexec/../completions/rbenv.bash' command rbenv rehash 2>/dev/null rbenv() { local command command="${1:-}" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(rbenv "sh-$command" "$@")";; *) command rbenv "$command" "$@";; esac }”’'
I'm way over my head with Terminal issues. So, any help on this is much appreciated. Cheers.
It is said (Basic Github checkout, part 2) to you to copy and past one of the following options, according to your running terminal:
For Bash:
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profileFor Ubuntu:
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrcFor Zsh:
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrcChecking your log above, I saw you use
'eval, which you must delete, and let just "one of the options above".Alternatively, you may run the rbenv doctor to see what you missed:
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bashDo not forget to open a new terminal to see your changes running.