[問題] gem install rails
版上大大好
我是剛學習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過 還是不知道怎樣解決這個問題
想請教大大如何解決?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.42.175.68
※ 文章網址: http://www.ptt.cc/bbs/Ruby/M.1397235364.A.BD4.html
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 3 篇):
Ruby 近期熱門文章
PTT數位生活區 即時熱門文章