Failed to build gem native extension when install RedCloth-4.2.9 install Linux

前端 未结 8 2249
清酒与你
清酒与你 2020-12-23 15:14

I want to install Octopress in my computer. I try to do it like

Octopress document.

When I run

bundle install

8条回答
  •  余生分开走
    2020-12-23 15:28

    I was installing Octopress too and got the same problem as yours. After checking the mkmf.log file I figured out that gcc-4.2 had not been found. I Even installed xcode with the command line tools. It worked when I made a symlink like this:

    $ sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
    $ bundle install
    

提交回复
热议问题