Created
April 20, 2011 18:31
-
-
Save moonmaster9000/932238 to your computer and use it in GitHub Desktop.
errors when opening a new terminal after installing the latest rvm from github
This file contains hidden or 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
-bash: /Users/mparker/.rvm/scripts/selector: line 202: syntax error near unexpected token `(' | |
-bash: /Users/mparker/.rvm/scripts/selector: line 202: ` if [[ -z "${rvm_ruby_version:-""}" ]] (( rvm_head_flag == 0 ))' | |
-bash: /Users/mparker/.rvm/scripts/selector: line 202: syntax error near unexpected token `(' | |
-bash: /Users/mparker/.rvm/scripts/selector: line 202: ` if [[ -z "${rvm_ruby_version:-""}" ]] (( rvm_head_flag == 0 ))' |
lol thx
I have installed rvm twice ... and i didn't see where ...
I think i'm tired ;)
I do :
sudo bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
and the error doesn't occur !
but with no sudo :
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
I have had :
-bash: /Users/mparker/.rvm/scripts/selector: line 202: syntax error near unexpected token (' -bash: /Users/mparker/.rvm/scripts/selector: line 202:
if [[ -z "${rvm_ruby_version:-""}" ]](%28 rvm_head_flag == 0 %29)'
-bash: /Users/mparker/.rvm/scripts/selector: line 202: syntax error near unexpected token (' -bash: /Users/mparker/.rvm/scripts/selector: line 202:
if [[ -z "${rvm_ruby_version:-""}" ]](%28 rvm_head_flag == 0 %29)'
Thx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try to do "rm -rf /Users/mparker/.rvm" then use what I copy pasted (or you can use rvm implode I believe).