终端中的Cocoapods安装错误 [英] Cocoapods installation error in terminal

查看:90
本文介绍了终端中的Cocoapods安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  MacBook-临:〜saiteja $ sudo gem安装cocoapods 
密码:
错误:安装cocoapods错误:
activesupport需要Ruby版本> = 2.2.2。
MacBook-Pro:〜saiteja $


解决方案

sudo gem install activesupport -v 4.2.6


While trying to install cocoapods I'm getting the following error, can any one help me debug it?

MacBook-Pro:~ saiteja$ sudo gem install cocoapods
Password:
ERROR:  Error installing cocoapods:
    activesupport requires Ruby version >= 2.2.2.
MacBook-Pro:~ saiteja$ 

解决方案

sudo gem install activesupport -v 4.2.6

这篇关于终端中的Cocoapods安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆