Bundle update fails on ffi

后端 未结 11 1944
闹比i
闹比i 2020-12-05 14:11

I\'m attempting to do a bundle update on my rails application but I get the following error:

Installing ffi (1.0.11) with native extensions Unfo         


        
11条回答
  •  误落风尘
    2020-12-05 14:21

    Mac OSx 10.10.2 yosemite

     CC=/usr/bin/i686-apple-darwin11-llvm-gcc-4.2 gem install ffi
    

    and thats it -check that you have 4.2 compiler in /usr/bin that you can hook into

    ls /usr/bin|grep gcc|grep 4.2
    

    You do not have to wipe out all of your local gems or override symlinks to do this - its a waste of time and will likely create more problems then it solves.

    please note, your bin path may be different if you needed to install via brew

    brew install apple-gcc42 
    

提交回复
热议问题