Xcode - configure: error: no acceptable C compiler found in $PATH

后端 未结 4 2133
孤城傲影
孤城傲影 2021-01-30 19:35

rebuilding a mac from scratch. Installed xcode and rvm then trying to install rubies but they are all giving me:

Error running \' ./configure --prefix=/Users/du         


        
4条回答
  •  误落风尘
    2021-01-30 20:28

    rbenv install error :

    configure: error: in `/tmp/ruby-build.20130911002344.31969/ruby-2.0.0-p0':
    configure: error: no acceptable C compiler found in $PATH
    

    ...brought me here,

    I am currently installing Ruby on rails, ruby through rbenv on a brand new Debian,

    Original command is :

    rbenv install 2.0.0-p0  
    

    As a solution :

    sudo apt-get install build-essential
    

    Cheers !

    [Sorry for the Xcode ppl]

提交回复
热议问题