[問題] gem install rails

作者: shapa5566 (瞎趴哥)   2014-04-12 00:56:02
版上大大好
我是剛學習ruby on rails的新手
在sudo gem install rails出現問題
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
creating Makefile
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
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/json-1.8.1 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/json-1.8.1/ext/json/ext/generator/gem_make.out
也google過 還是不知道怎樣解決這個問題
想請教大大如何解決?
謝謝

Links booklink

Contact Us: admin [ a t ] ucptt.com