在生成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':相关推荐

  1. RVM怎么下载和管理ruby版本 - 猿码设计师 ruby rvm

    RVM怎么下载和管理ruby版本 - 猿码设计师 ruby rvmrvm工具使用,ruby 安装.RVM 是一个命令行工具,可以提供一个便捷的多版本 Ruby 环境的管理和切换.如果你打算学习 Rub ...

  2. /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 ...

  3. 带有基于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 ...

  4. mkmf.rb can‘t find header files for ruby at /System/Library/Frameworks/Ruby.framework/... ...

    问题背景 解决方法 总结 阅读之前注意: 本文阅读建议用时:15min 本文阅读结构如下表: 项目 下属项目 测试用例数量 问题背景 无 0 解决方法 无 1 总结 无 0 问题背景 把Mac升级到了 ...

  5. linux使用yum安装ruby,yum安装ruby_安装 Ruby

    可以使用多种工具安装 Ruby.本页介绍如何使用主流的包管理系统和第三方工具管理和安装 Ruby,以及如何通过源码编译安装. 选择安装方式 安装 Ruby 的方式有多种: 如果使用的是类 UNIX 操 ...

  6. Ruby之父:写Ruby时工作特别闲,总加班的人很难做出创造

    上个月 Ruby 之父松本行弘来到中国参加 Ruby Conf 大会,期间他接受了二叉树视频的采访,我们很荣幸获得了二叉树视频的授权,转载了这篇文章,希望各位读者看到一个不一样的松本行弘. 视频丨二叉 ...

  7. Ruby入门之零基础如何学ruby以及ruby的应用/快速学习ruby/学习ruby的流程是什么?...

    作者:李路 链接:https://www.zhihu.com/question/19552402/answer/22336708 来源:知乎 快速学习Ruby on Rails,这应该是个伪命题,没有 ...

  8. ruby 读取文本_使用Ruby进行文本处理

    ruby 读取文本 在与Perl或Python相同的页面上,Ruby具有强大的功能,可以成为强大的文本处理语言. 本文简要地讨论了Ruby的文本数据处理能力,以及如何使用它来有效处理文本数据的不同格式 ...

  9. Ruby/Rails学习教程-Hello Ruby

    项目需要,我的Ruby之旅也开始了.学习之初必定是各种菜各种困惑,但是作为Developer,学习新知识是我们的基本技能.于是决定写点什么,来自我记录自己的成长轨迹. 从最初的Hello World ...

最新文章

  1. 免费学习AI公开课:打卡、冲击排行榜,还有福利领取
  2. poj1410(线段相交问题判断)
  3. pytest中pytest_addoption用法 动态添加命令行参数 (钩子函数)
  4. Window核心编程
  5. 我的华为P30pro手机升级了鸿蒙系统!
  6. Spark action算子案例
  7. gradle下载及配置
  8. 掌握渗透测试,从Web漏洞靶场搭建开始
  9. 玩转 SpringBoot 2 之整合 JWT 下篇
  10. Disabling Shortcut Keys in Full Screen mode
  11. LVS + Nginx +Tomcat 高可用架构
  12. php举例--array,php中session的应用举例-php中array_key_exists与isset的区别...-php取整数的几种方式(实例)_169IT.COM...
  13. python抽学号程序_python:简单的学生管理系统
  14. vi/vim命令使用
  15. 设计一些自学软件的小测试demo吧。
  16. CocosCreator新手游戏开发指南(真小白)超详细 逐行注释
  17. 微信小程序中如何有效的修改app.js中全局变量的值,并能在页面中进行动态响应
  18. 利用Photoshop制作毛玻璃效果
  19. oracle查看视图属于哪个用户,oracle查询视图归属于哪个用户
  20. w10计算机怎么恢复出厂设置路由器,win10无线路由器设置步骤图_win10重置路由器后怎么设置...

热门文章

  1. 深度学习 day1(python入门)
  2. reversing逆向分析技术总结-(2)
  3. 小程序组件中的监听事件
  4. “拍马屁”还有考试?黑人问号?报考要条件不
  5. (17)Redis 服务器
  6. 重构 重写 重载
  7. 对《侃侃那些美丽的编程语言(上)》的集中回复
  8. 未找到 app.json 中的定义的 pages/index/index 对应的 WXML 文件
  9. 我的公号正式更名,公布中奖名单,几点活动展开的话题
  10. ucos查找最高优先级任务