Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2012 15:25
Show Gist options
  • Save anonymous/4328934 to your computer and use it in GitHub Desktop.
Save anonymous/4328934 to your computer and use it in GitHub Desktop.
-bash: eval: line 21: syntax error: unexpected end of file, why ?
# Simple Ruby Version Management: rbenv
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"eval
export PATH="/Users/antoine/.rbenv/shims:${PATH}"
source "/Users/antoine/.rbenv/libexec/../completions/rbenv.bash"
rbenv rehash 2>/dev/null
rbenv() {
local command="$1"
if [ "$#" -gt 0 ]; then
shift
fi
case "$command" in
shell)
eval `rbenv "sh-$command" "$@"`;;
*)
command rbenv "$command" "$@";;
esac
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment