package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodErr
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删除就好啦
package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodErr相关推荐
- pod install error(NoMethodError - undefined method `size’ for nil:NilClass)
pod install error(NoMethodError - undefined method `size' for nil:NilClass) 前言 问题截图 问题的相关连接: 解决办法 前言 ...
- NoMethodError:undefined method to_ISO8601 for nil:NilClass
转载请注明出处:http://blog.csdn.net/gamer_gyt 博主微博:http://weibo.com/234654758 Github:https://github.com/thi ...
- ruby on rails错误undefined method `title#39; for nil:NilClass
首先搞清楚这句话,在 Ruby 中,方法分为 public.private 和 protected 三种,仅仅有 public 方法才干作为控制器的动作. 我的出错的代码例如以下: controlle ...
- Call to undefined method Illuminate\Database\Query\Builder::trashed()
今天在使用laravel软删除的时候,一直报Call to undefined method Illuminate\Database\Query\Builder::trashed()的错误,查看数据库 ...
- Keras Bug 解决方法 Exception ignored in: bound method BaseSession.__del__ of
报错信息 Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.sess ...
- Hbase的shell出现wrong number of arguments xxx以及undefined method any?for xxxx
我们大概碰到过下面这种情况 ERROR: wrong number of arguments (10 for 6) For usage try 'help "put"' Took ...
- Javafx 报错Exception in Application start method java.lang.reflect.InvocationTargetException
Javafx 报错Exception in Application start method java.lang.reflect.InvocationTargetException 代码如下: imp ...
- undefined method `devise' for User(Table doesn't exist):Class解决方法
当我们使用devise时,可能遇到undefined method `devise' for User(Table doesn't exist):Class的错误 重启服务rails server就行 ...
- Error: go: undefined method `on_intel‘ for #<Resource:0x00007f79a52da200>和Linux 出现-bash:./configure:
CSDN话题挑战赛第2期 参赛话题:博客写作经验分享 Error: go: undefined method `on_intel' for #Resource:0x00007f79a52da200 当 ...
最新文章
- CIKM 2021 | 基于IPCA的多属性分子优化
- Android MVC,MVP,MVVM模式入门——重构登陆注册功能
- 从零开始Code Review
- C++中什么时候用new[]申请,可以用delete释放
- 批处理脚本, 读取文件并字符串替换
- selenium 元素定位常用的方法
- 四、CI框架之通过URL路径访问C中的函数
- 下载android版趣步最新版,趣步下载2021安卓最新版_手机app官方版免费安装下载_豌豆荚...
- 使用 Cilium 增强 Kubernetes 网络安全
- Makefile 打印变量的值
- 极致CMS个人博客企业官网模板
- xml转化为Dictionary
- linux环境 jenkins +allure生成测试报告
- [转载] .NET 中可以有类似 JVM 的幻像引用吗?
- 用折半查找法查找某一字符在字符串中的位置
- cpu天梯图2022年11月 cpu排行榜天梯图2022
- 给定一个数组,它的第 i 个元素 prices[i] 表示一支给定股票第 i 天的价格。你只能选择某一天买入这只股票,并选择在未来的一个不同的日子卖出该股票。【LeetCode Hot 100】
- 七牛云php回调,回调通知_开发指南_对象存储 - 七牛开发者中心
- web开发中首页静态化处理
- 字符串首尾空格去除问题