gem install json을 실행하려고했는데 다음 오류가 발생했습니다.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling generator.c
linking shared-object json/ext/generator.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [generator.bundle] Error 1
make failed, exit code 2
Gem files will remain installed in /opt/boxen/repo/.bundle/ruby/2.0.0/gems/json-1.8.0 for inspection.
Results logged to /opt/boxen/repo/.bundle/ruby/2.0.0/extensions/universal-darwin-13/2.0.0/json-1.8.0/gem_make.out
나는 사용하고있다 :
OS X : 10.9.2
Xcode : 5.1 빌드 버전 5B130a
명령 줄 도구 (CLT) : 5.1.0.0.1.1393561416
Ruby : ruby 2.0.0p247 (2013-06-27 개정 41674) [universal.x86_64-darwin13]
Ruby Gem : 2.2 .2
GCC : 4.2.1 Apple LLVM 버전 5.1 (clang-503.0.38) (LLVM 3.4svn 기반)