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
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