Cannot compile ruby 1.9.3

前端 未结 5 1911
别跟我提以往
别跟我提以往 2020-12-25 13:44

When I run

rvm install 1.9.3 --with-gcc=clang

on Mac OSX Lion, ruby does not compile, and I get the following error in (.rvm/log/ruby-1.9.3

5条回答
  •  别那么骄傲
    2020-12-25 14:34

    If you don't have rvm already installed, rvm requirements won't work. Install gcc 4.2 with homebrew and restart the rvm installation. Worked for me.

    brew update
    brew tap homebrew/dupes
    brew install apple-gcc42
    

提交回复
热议问题