package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodErr
来源:互联网 发布:js done方法 编辑:程序博客网 时间:2024/06/08 23:35
Mac是10.13.1 安装CocoaPods
在这里找到答案:http://blog.csdn.net/chenyyhh92/article/details/53232816
里面说 将%RUBY_HOME%/lib/ruby/gems/2.2.0/cache 文件夹中对应的gem删掉即可(这里是pdf-writer-1.1.8.gem),再重新执行命令。
小白不知道什么是%RUBY_HOME%
在finder中 按下command+shift+G
在文本框输入/lib/ruby/回车就可以再顺着gems/2.2.0/cache往下找了
我的bug是
ERROR: Error installing cocoapods:
invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /Library/Ruby/Gems/2.3.0/cache/activesupport-4.2.10.gem
所以进入cache 找到activesupport-4.2.10.gem删除就好啦
阅读全文
0 0
- package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodErr
- undefined method `inheritable_copy' for nil:NilClass
- NoMethodError:undefined method to_ISO8601 for nil:NilClass
- gem安装时出现 undefined method `size' for nil:NilClass (NoMethodError) 的解决办法
- ruby on rails错误undefined method `title' for nil:NilClass
- jenkins部署业务报错undefined method `chomp' for nil:NilClass
- undefined method `model_name' for NilClass:Class
- "The method findViewById(int) is undefined for ..."
- The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory!
- The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
- he method isEmpty() is undefined for the type String/String
- The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
- The method isEmpty() is undefined for the type String/String
- The method getJspApplicationContext(ServletContext) is undefined for the type
- The method getTextContent() is undefined for the type Node
- The method getTextContent() is undefined for the type Element
- The method getJspApplicationContext(ServletContext) is undefined for the type Js
- The method getTextContent() is undefined for the type Node
- 136. Single Number
- SpringMVC(七)国际化
- 并发insert情况下会发生重复的数据插入问题
- MySQL索引
- 数据库学习7
- package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodErr
- 玛丽奥吃金币
- iOS UITextFiled 用中文键盘输英文出现空格的解决方案
- openstack【Kilo】入门 【keystone篇】九: 创建openstack客户端环境变量脚本
- 设置Redis最大占用内存
- 不用数组,解决众数问题(前提 :众数出现的次数必须大于n/2)
- Python 之大数据量的可视化----Matplotlib
- 1.1 网络编程与套接字实例
- 实现在Java中执行python代码或py脚本(可传参数)