我嘗試安裝pushmeup插件用於電話推送通知(ios)。
當我運行命令sudo的創業板安裝pushmeup我得到這個錯誤:無法安裝pushmeup插件
Building native extensions. This could take a while... ERROR: Error installing pushmeup: 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 /Library/Ruby/Gems/2.0.0/gems/json-1.8.1 for inspection. Results logged to /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-13/2.0.0/json-1.8.1/gem_make.out
GitHub上:
PARAMS:
ruby -v ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
gem -v 2.2.2
Mac OS X v 10.9.2
XCode Version 5.1 (5B130a)
cordova -v 3.4.0-0.1.3
[Ruby Gem install Json在Mavericks和Xcode 5.1上失敗 - 未知參數:'-multiply \ _definedsuppress'](http://stackoverflow.com/questions/22352838/ruby-gem-install-json-fails -on-mavericks-and-xcode-5-1-unknown-argument-mul) – Nakilon