Mac OS X Lion Xcode problems using RVM

后端 未结 4 1464
醉话见心
醉话见心 2021-02-04 16:59

I had Xcode 4.1 preview 5 working fine but decided to upgrade to the final xcode 4.1 thru the App store. I uninstalled Xcode first...

sudo /Developer/Library/u         


        
4条回答
  •  离开以前
    2021-02-04 17:16

    Just bought a Mac, what I had to do to make it work after installing Xcode and seeing that /usr/bin doesn't have gcc, was: Enter Xcode preferences going over to the downloads tab and install Command Line Tools. After setting up my developer account and downloading the tools I opened terminal and typed

    rvm install 1.9.3 --with-gcc=clang
    

    and everything compiled and works.

提交回复
热议问题