一 Ruby 异常
iTerm 中安装pod : pod install 执行后,出现以下信息
/Users/gm/.rvm/gems/ruby-2.2.0/gems/json-1.8.3/lib/json/ext/parser.bundle: [BUG] Segmentation fault at 0x00000000000418
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin13]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
-- Control frame information -----------------------------------------------
c:0032 p:-17578000109434 s:0143 e:000142 TOP [FINISH]
c:0031 p:---- s:0141 e:000140 CFUNC :require
c:0030 p:0160 s:0137 e:000136 METHOD /Users/gm/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:68
c:0029 p:0009 s:0127 e:000126 CLASS /Users/gm/.rvm/gems/ruby-2.2.0/gems/json-1.8.3/lib/json/ext.rb:13
异常信息:/Users/gm/.rvm/gems/ruby-2.2.0/gems/json-1.8.3/lib/json/ext/parser.bundle
二解决方法
重装json
newsapp 10 6 git:(leisheng/change_status) ✗ gem install json