安装Ruby 报错 Error running 'requirements_osx_brew_update_system ruby-2.3.1
来源:互联网 发布:tomcat数据库密码设置 编辑:程序博客网 时间:2024/06/02 02:25
操作系统:macOS 10.12.1
安装Ruby2.3.1报错
具体报错信息如下:
chaorenbuhuifeideMacBook-Air:~ chaorenbuhuifei$ rvm install 2.3.1
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/osx/10.12/x86_64/ruby-2.3.1.tar.bz2
Checking requirements for osx.
Installing requirements for osx.
Updating system.......
Error running 'requirements_osx_brew_update_system ruby-2.3.1',
showing last 15 lines of /Users/chaorenbuhuifei/.rvm/log/1481424365_ruby-2.3.1/update_system.log
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.'
++ rvm_pretty_print stderr
++ case "${rvm_pretty_print_flag:=auto}" in
++ case "${TERM:-dumb}" in
++ case "$1" in
++ [[ -t 2 ]]
++ return 1
++ printf %b 'Failed to update Homebrew, follow instructions here:
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.\n'
Failed to update Homebrew, follow instructions here:
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.
++ return 1
Requirements installation failed with status: 1.
Error running 'requirements_osx_brew_update_system ruby-2.3.1'
解决方案:
步骤1:
$ brew install autoconf automake libtool pkg-config apple-gcc42 libyaml readline libxml2 libxslt libksba openssl sqlite
此方案会报错
Error: No available formula with the name "apple-gcc42"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
This formula was found in a tap:
homebrew/dupes/apple-gcc42
To install it, run:
brew install homebrew/dupes/apple-gcc42
这就是一波未平一波又起,幸运的报错提示明确的给出了此问题的解决方案
步骤2:
$brew install homebrew/dupes/apple-gcc42
然后继续安装即可
$rvm install 2.3.1
0 0
- 安装Ruby 报错 Error running 'requirements_osx_brew_update_system ruby-2.3.1
- Error running 'requirements_osx_brew_update_system '
- Error running 'requirements_osx_brew_update_system '
- 安装ruby遇到Error running '__rvm_make -j 1'错误解决办法
- Redis安装ruby报错:Error installing redis: redis requires Ruby version >= 2.2.2.
- 安装Cocoapods 报错ERROR: Error installing cocoapods: activesupport requires Ruby version >= 2.2.2.
- ruby 安装mysql报错,extconf.rb
- ruby 2.1安装mysql2 gem 报错
- ruby调试报错
- 更新ruby出现的Error running '__rvm_make -j 1',问题解决方法
- Ruby输出中文报错
- ruby安装
- Ruby安装
- Ruby安装
- ruby安装
- ruby安装
- Ruby安装
- Ruby 安装
- 优化长尾词跟挖掘长尾词的方法分享
- usb的挂载
- PHP-redis中文文档
- CAD快捷键
- 关于Python闭包的理解
- 安装Ruby 报错 Error running 'requirements_osx_brew_update_system ruby-2.3.1
- Item24 Distinguish universal references from rvalues reference
- 企业站点首页位置没有了,都是哪些方面的原因
- Qt(C++)与Matlab混合编程
- makefile 1 编写一个简单的makefile
- MySQL安装
- Linux系统中的基本操作命令
- 欢迎使用CSDN-markdown编辑器
- 分享几款分析流量的工具