Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/fun-mac01/.rvm/rubies/ruby-1.8.7-p374/bin/ruby extconf.rb checking for rb_trap_immediate in ruby.h,rubysig.h... yes checking for rb_thread_blocking_region()... no checking for inotify_init() in sys/inotify.h... no checking for __NR_inotify_init in sys/syscall.h... no checking for writev() in sys/uio.h... yes checking for rb_wait_for_single_fd()... no checking for rb_enable_interrupt()... no checking for rb_time_new()... yes checking for sys/event.h... yes checking for sys/queue.h... yes creating Makefile
make c++ -I. -I. -I/Users/fun-mac01/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/i686-darwin14.0.0 -I. -DWITH_SSL -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DHAVE_KQUEUE -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl098/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c binder.cpp clang: error: unknown argument: '-fno-tree-dce' make: *** [binder.o] Error 1
Gem files will remain installed in /Users/fun-mac01/.rvm/gems/ruby-1.8.7-p374/gems/eventmachine-1.0.3 for inspection.
Results logged to /Users/fun-mac01/.rvm/gems/ruby-1.8.7-p374/gems/eventmachine-1.0.3/ext/gem_make.out
An error occurred while installing eventmachine (1.0.3), and Bundler cannot continue.
Make sure that gem install eventmachine -v '1.0.3'
succeeds before bundling.
以上是 执行 bundle install 的时候出的错,不知道怎么解决,各位遇见过吗?