.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/rubygems/...:in `require':
在生成pod模板库是发现一个错误导致模板库生成错误:
.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require’: cannot load such file – colored2 (LoadError)
输入上面提示的colored2的两条gem命令即可解决问题
$ sudo gem install colored2
中间会提示输入密码
$ sudo gem update –system
完成后继续执行自己的命令
$ pod lib create XXXlib
RubyGems system software updated
likexue的Mac-Pro:SelectArea likexue$ pod lib create KXSelectArea
Cloning https://github.com/CocoaPods/pod-template.git
into KXSelectArea
.
Configuring KXSelectArea template.
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
! Before you can create a new library we need to setup your git credentials.
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
What is your name?
likexue
! Setting your name in git to likexue
git config user.name “likexue”
To get you started we need to ask a few questions, this should only take a minute.
If this is your first time we recommend running through with the guide:
- http://guides.cocoapods.org/making/using-pod-lib-create.html
( hold cmd and double click links to open in a browser. )
What language do you want to use?? [ Swift / ObjC ]
Objc
Would you like to include a demo application with your library? [ Yes / No ]
yes
Which testing frameworks will you use? [ Specta / Kiwi / None ]
None
Would you like to do view based testing? [ Yes / No ]
no
What is your class prefix?
KX
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
Running pod install on your new library.
Analyzing dependencies
Fetching podspec for KXSelectArea
from ../
Downloading dependencies
Installing KXSelectArea (0.1.0)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use KXSelectArea.xcworkspace
for this project from now on.
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
Ace! you’re ready to go!
We will start you off by opening your project in Xcode
open ‘KXSelectArea/Example/KXSelectArea.xcworkspace’
To learn more about the template see https://github.com/CocoaPods/pod-template.git
.
To learn more about creating a new pod, see
http://guides.cocoapods.org/making/making-a-cocoapod
.
likexue的Mac-Pro:SelectArea likexue$
.rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/rubygems/...:in `require':相关推荐
- RVM怎么下载和管理ruby版本 - 猿码设计师 ruby rvm
RVM怎么下载和管理ruby版本 - 猿码设计师 ruby rvmrvm工具使用,ruby 安装.RVM 是一个命令行工具,可以提供一个便捷的多版本 Ruby 环境的管理和切换.如果你打算学习 Rub ...
- /usr/local/ruby/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such
错误详情: 2: from ./redis-trib.rb:25:in `<main>' 1: from /usr/local/ruby/lib/ruby/2.5.0/rubygems/c ...
- 带有基于Smalltalk的Ruby VM的NoSQL OODB:MagLev 1.0发布了
带有基于Smalltalk的Ruby VM的NoSQL OODB:MagLev 1.0发布了 http://www.infoq.com/cn/news/2011/11/ruby-maglev-10 M ...
- mkmf.rb can‘t find header files for ruby at /System/Library/Frameworks/Ruby.framework/... ...
问题背景 解决方法 总结 阅读之前注意: 本文阅读建议用时:15min 本文阅读结构如下表: 项目 下属项目 测试用例数量 问题背景 无 0 解决方法 无 1 总结 无 0 问题背景 把Mac升级到了 ...
- linux使用yum安装ruby,yum安装ruby_安装 Ruby
可以使用多种工具安装 Ruby.本页介绍如何使用主流的包管理系统和第三方工具管理和安装 Ruby,以及如何通过源码编译安装. 选择安装方式 安装 Ruby 的方式有多种: 如果使用的是类 UNIX 操 ...
- Ruby之父:写Ruby时工作特别闲,总加班的人很难做出创造
上个月 Ruby 之父松本行弘来到中国参加 Ruby Conf 大会,期间他接受了二叉树视频的采访,我们很荣幸获得了二叉树视频的授权,转载了这篇文章,希望各位读者看到一个不一样的松本行弘. 视频丨二叉 ...
- Ruby入门之零基础如何学ruby以及ruby的应用/快速学习ruby/学习ruby的流程是什么?...
作者:李路 链接:https://www.zhihu.com/question/19552402/answer/22336708 来源:知乎 快速学习Ruby on Rails,这应该是个伪命题,没有 ...
- ruby 读取文本_使用Ruby进行文本处理
ruby 读取文本 在与Perl或Python相同的页面上,Ruby具有强大的功能,可以成为强大的文本处理语言. 本文简要地讨论了Ruby的文本数据处理能力,以及如何使用它来有效处理文本数据的不同格式 ...
- Ruby/Rails学习教程-Hello Ruby
项目需要,我的Ruby之旅也开始了.学习之初必定是各种菜各种困惑,但是作为Developer,学习新知识是我们的基本技能.于是决定写点什么,来自我记录自己的成长轨迹. 从最初的Hello World ...
最新文章
- R语言可视化散点图(scatter plot)图中的标签和数据点互相堆叠丑死了,ggrepel包来帮忙:文本标签(label)相互排斥,远离数据点,远离绘图区域的边缘。
- 变频器输出功率_变频器的输出功率该如何选择?
- linux du -h按文件大小,【玩转linux命令】du党
- CV Code | 本周新出计算机视觉开源代码汇总(含自动驾驶目标检测、医学图像分割、风格迁移、语义分割、目标跟踪等)...
- 基于canvas的视频遮罩插件
- CYQ.Data 轻量数据层之路 使用篇-MAction 数据查询 视频 D (二十一)
- 【opencv】左右两张图片实现全景拼接
- [读书]看看你有没有忽视
- cad计算机绘图实操视频,cad工程制图教程视频
- 企业级项目实战讲解!Java获取某个日期的前一天
- 2018-2019-1 20165320 《信息安全系统设计基础》 缓冲区溢出漏洞实验
- 嵌入式:交换指令之SWP,MRS,MSR
- 1103 缘分数 – PAT乙级真题
- imp导入备份时报:无法转换为环境字符集句柄 ...
- Centos7英文操作环境下的中文输入
- 计算机科学与技术高校学科评估排名,教育部06高校学科评估排名:0812 计算机科学与技术...
- MOTOx4虽被人吐槽的外形,但这一点你肯定喜欢
- 前端通过MathJax显示数学公式(vue+MathJax)
- Do a number 造成伤害
- Python获取docx文档里的批注