安装cocopods时失败,更新ruby到2.2.2失败原因
来源:互联网 发布:php json 储存数据 编辑:程序博客网 时间:2024/06/06 18:21
安装cocopods时失败,更新ruby到2.2.2失败原因
今天安装cocopods失败了,终端上说ruby的版本太低了了需要更新到ruby2.2.2版本
http://blog.csdn.net/lissdy/article/details/9191351
看上面这个网站更新ruby到指定版本,然后就报错了下面是错误代码
错误代码
Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config libyaml readline libksba openssl',showing last 15 lines of /Users/junge/.rvm/log/1477380049_ruby-2.3.0/package_install_autoconf_automake_libtool_pkg-config_libyaml_readline_libksba_openssl.log++ case "$1" in++ [[ -t 1 ]]++ return 1++ printf %b 'There were package installation errors, make sure to read the log.Try `brew tap --repair` and make sure `brew doctor` looks reasonable.Check Homebrew requirements https://github.com/Homebrew/homebrew/wiki/Installation\n'There were package installation errors, make sure to read the log.Try `brew tap --repair` and make sure `brew doctor` looks reasonable.Check Homebrew requirements https://github.com/Homebrew/homebrew/wiki/Installation++ case "$_system_version" in++ return 1Requirements installation failed with status: 1.
在stackoverflow上面找了好久终于找到类似的答案,可能就是网络的问题,因为下载ruby的时候要下载相关的包
Installing requirements for osx.
Updating system…..
Installing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libksba, openssl…..
下载这些包可能要翻墙,没办法翻墙试了一下果然成功了
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.Requirements installation successful.ruby-2.2.2 - #configureruby-2.2.2 - #download % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 6854k 100 6854k 0 0 11540 0 0:10:08 0:10:08 --:--:-- 74959ruby-2.2.2 - #validate archiveruby-2.2.2 - #extractruby-2.2.2 - #validate binaryruby-2.2.2 - #setupruby-2.2.2 - #gemset created /Users/junge/.rvm/gems/ruby-2.2.2@globalruby-2.2.2 - #importing gemset /Users/junge/.rvm/gemsets/global.gems..................-ruby-2.2.2 - #generating global wrappers........ruby-2.2.2 - #gemset created /Users/junge/.rvm/gems/ruby-2.2.2ruby-2.2.2 - #importing gemsetfile /Users/junge/.rvm/gemsets/default.gems evaluated to empty gem listruby-2.2.2 - #generating default wrappers........Updating certificates in '/etc/openssl/cert.pem'.mkdir: /etc/openssl: Permission deniedmkdir -p "/etc/openssl" failed, retrying with sudojunge password required for 'mkdir -p /etc/openssl': and sudo mkdir workedjungedeMac-mini:~ junge$ ruby -vruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]jungedeMac-mini:~ junge$
给大家推荐一个macvpn下载地址,可以免费使用,但是好像要注册。简单注册就能能用了。
http://www.vpn123.co/download
0 0
- 安装cocopods时失败,更新ruby到2.2.2失败原因
- cocopods更新失败解决
- 2016/07/31 安装cocoapods 失败 原因:ruby 环境版本必须大雨2.2 --> 更新到2.3后重新安装
- VS2008更新程序安装失败的原因
- gem\ruby 安装失败
- mac Ruby下安装compass失败原因及解决办法
- VS2008安装失败原因!
- SQL2000安装失败原因
- MySQL安装失败原因
- Apk安装失败原因
- ruby运行到gem失败
- android sdk 更新失败原因
- 产品更新,覆盖安装失败,原因和解决办法.
- Ubuntu安装更新失败
- Ubuntu安装更新失败
- 更新sdk时提示重名失败,安装失败
- mmap失败时原因
- SQL2000安装失败原因大全
- linux下git命令的使用
- codeforces597a
- 牛客网 - 剑指Offer - 考点:字符串 题目:替换kong
- ccc2540
- android 隐藏标题栏 无效 requestWindowFeature(Window.FEATURE_NO_TITLE)
- 安装cocopods时失败,更新ruby到2.2.2失败原因
- 内核 API,第 3 部分: 2.6 内核中的计时器和列表
- Maven 创建可执行jar并加载配置文件
- Android开发之ListView 优化之缓存优化
- 页面间传值的方式
- sql添加主键外键
- 在文件中加入数据的简单案例
- Technocup 2017 - Elimination Round 1 C 交互
- 基于Goolgle最新NavigationDrawer实现全屏水平平移