Not able to install some gems after mountain lion upgrade

后端 未结 2 1068
[愿得一人]
[愿得一人] 2021-01-05 03:11

I just updated my Macbook to Mountain Lion, but now I\'m not able to install some gems, because of the below error about headers. I looked around and it seems to have to do

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-05 04:09

    Be sure to install Xcode's Command-Line Tools.

    This hint helped me with this issue:

    sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2
    

提交回复
热议问题