安装cocopods时出现错误
Building native extensions.This could take a while...
ERROR:Error installing cocoapods:
ERROR: Failed to build gem native extension.
current directory: /Users/caoshuaikun/.rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
【安装cocopods时出现错误】/Users/caoshuaikun/.rvm/rubies/ruby-2.4.0/bin/ruby -r ./siteconf20170103-1954-1elbc8h.rb extconf.rb
creating Makefile
current directory: /Users/caoshuaikun/.rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR=" clean
current directory: /Users/caoshuaikun/.rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0/gems/json-1.8.3/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
generator.c:861:25: error: use of undeclared identifier 'rb_cFixnum'
} else if (klass == rb_cFixnum) {
^
generator.c:863:25: error: use of undeclared identifier 'rb_cBignum'
} else if (klass == rb_cBignum) {
事了好多办法也没法解决,不知道这是几个意思,有大神帮忙解决一下么,求答案啊
推荐阅读
- 两个月的时光一闪而过
- 离线方式安装高可用RKE2|离线方式安装高可用RKE2 (版本: v1.22.13+rke2r1)记录
- python|安装pytorch
- 皮相
- 社交时代,我们该如何告别单身()
- 中年|逆袭时我在想什么
- 与自己相处
- 32/70|32/70 小控班086 育儿(生活有时需要小惊喜)
- Opencv实践项目之实时物体的测量——c++
- 最美好的爱情是--从学生时期到柴米油盐