ERROR: Error installing ffi: ERROR: Failed to build gem native extension

后端 未结 15 1578
春和景丽
春和景丽 2020-12-03 14:12

Got the DevKit installed and re-ran the ffi install….got this as an output:

C:\\Documents and Settings\\******>gem install ffi
Temporarily enhancing PATH          


        
15条回答
  •  既然无缘
    2020-12-03 14:50

    Copied from another post:

    As stated in Issue with installing ImageMagick and rmagick on Mountain Lion, ffi appears to be configured to look for 'gcc-4.2', so once I updated my Apple command line tools (which I may or may not have needed to do), I created a symbolic link to make the ffi install configuration happy:

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

提交回复
热议问题