wayneeseguin/rvm — Issue #563: Missing "then" in ~/.rvm/scripts/functions/build
Author: khueue
Created: 2011-11-03 16:42:19+00:00
State: open

I am no expert in bash, but I got the following complaint while trying to install 1.9.3-p0:

.../.rvm/scripts/functions/build: line 32: syntax error near unexpected token `else'
.../.rvm/scripts/functions/build: line 32: ` else'
.../.rvm/scripts/functions/manage/base: line 126: __rvm_setup_compile_environment: command not found

I believe the error is a missing "then" after line 30 in the build script, "if [[ "${CC:-}" == "$oldCC" ]]".

Thanks for RVM!