I am having trouble installing Ruby 1.9.2 with rvm on Mac OS Lion.
It gets stuck in the compilation stage; I don't see any errors or output, but it will be stuck at the compilation message for hours upon hours. The miniruby process is still running and using quite a bit of CPU, but it just never finishes.
The only thing I can find in the logs is this message in the make.log
:
<internal:prelude>:1: [BUG] Segmentation fault
Any ideas how I can get this to compile?
It may be related to Lion trying to use llvm to compile instead of gcc. Try running the command like this
CC=/usr/bin/gcc-4.2 rvm install 1.9.2
to use gcc.Based on the information in this other answer: Why can't I install Rails on Lion using RVM?