Attempting to use RVM on a Mac OS X 10.5.8.
> rvm install ruby-1.8.7-p334
ERROR:
You passed the --clang option and clang is not in your path.
Please try again or do not use --clang.
I have little idea what this error is about; looking in the RVM script leads nowhere. No luck on google finding this error string. 1.8.7 is in “rvm list known”.
Anyone seen this before?
I believe the problem is this commit, specifically the changes to
.rvm/scripts/env.Editing
.rvm/scripts/manageis one way to fix the problem (see flitzwald’s answer for another way to do it):(
$rvm_clang_flagis set to 1 when you call for it in.rvm/scripts/cli. The error is being falsely tripped now because the flag’s default settings and the test for the flag don’t match up.)Edit: Just a follow-up note. It was a bug; it’s been fixed. If you come by here via Google,
rvm get head && rvm reloadand all should be well again.