Created
December 18, 2012 15:25
-
-
Save anonymous/4328934 to your computer and use it in GitHub Desktop.
-bash: eval: line 21: syntax error: unexpected end of file, why ?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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