用rvm安装ruby错误

缺少对于的库文件

[[email protected] ~]# rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: redhat/6/i386/ruby-2.0.0-p451.
Continuing with compilation. Please read ‘rvm help mount‘ to get more information on binary rubies.
Checking requirements for redhat.

Skipping installation of ‘libffi-devel‘, in case you depend on FFI reinstall your ruby after following this instructions:
https://gist.github.com/rderoldan1/5920539

Installing requirements for redhat.
Updating system.
Installing required packages: autoconf, gcc-c++, readline-devel, zlib-devel, openssl-devel, automake, libtool, bison...
Error running ‘requirements_centos_libs_install autoconf gcc-c++ readline-devel zlib-devel openssl-devel automake libtool bison‘,
showing last 15 lines of /usr/local/rvm/log/1399957380_ruby-2.0.0-p451/package_install_autoconf_gcc-c++_readline-devel_zlib-devel_openssl-devel_automake_libtool_bison.log
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package autoconf available.
No package gcc-c++ available.
No package readline-devel available.
No package zlib-devel available.
No package openssl-devel available.
No package automake available.
No package libtool available.
No package bison available.
Error: Nothing to do
++ return 1
++ return 1
Requirements installation failed with status: 1.

最好的解决方法,用光盘或安装包,安装对于缺少的包。

避免没有安装依赖的包

用rvm安装ruby错误

时间: 2024-08-26 00:32:28

用rvm安装ruby错误的相关文章

通过RVM安装Ruby失败

第一次安装失败是由于Homebrew一直安装不成功,遂去http://brew.sh/index_zh-cn.html官网 通过 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 复制到终端中直接安装,安装成功后再通过RVM安装Ruby还是失败,根据提示输入brew doctor查找原因,发现时Xcode版本过低,更新安装之后并运行Xcod

deepin15.11使用RVM安装ruby

sudo apt-get update sudo apt-get upgrade sudo apt-get install curl # 安装RVM curl -L get.rvm.io | bash -s stable 上面安装RVM有可能会报错,如下图: 根据提示,我们执行提示的命令: gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BA

rvm 安装ruby报错

ruby-2.1.1 - #downloading rubygems-2.2.3  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed  0     0    0     0    0     0      0      0 --:--:--

ubuntu 14.04中安装 ruby on rails 环境(填坑版) 呕血推荐

环境:在win7 上Vmware虚拟机环境中安装的ubuntu 14.04 开发相关: ruby 2.2.0 rails 4.2.0 sublime text 3 本文说明:所有的命令均在$ 之后,若$前边带有信息,只是为了方便你理解和与自己对照. 安装过程中由于这样那样的原因,产生许多坑,所谓坑是对初学者来说,大牛们飘过吧. 步骤1.从官网下载ubuntu 14.04 X64 http://124.205.69.136/files/2013000000502943/202.141.176.11

如何在Mac OS X上安装 Ruby运行环境

本页主要介绍如何用一条靠谱的路子快速安装 Ruby 开发环境. 系统需求 首先确定操作系统环境,不建议在 Windows 上面搞,所以你需要用: Mac OS X 以下代码区域,带有 $ 打头的表示需要在控制台(终端)下面执行(不包括 $ 符号) 步骤1 - 安装 RVM (ruby version manger ruby 版本管理) RVM 是干什么的这里就不解释了,后面你将会慢慢搞明白. $ \curl -L https://get.rvm.io | bash -s stable --rub

安装 Ruby, Rails 运行环境

对于新入门的开发者,如何安装 Ruby, Ruby Gems 和 Rails 的运行环境可能会是个问题,本页主要介绍如何用一条靠谱的路子快速安装 Ruby 开发环境. 次安装方法同样适用于产品环境! 系统需求 首先确定操作系统环境,不建议在 Windows 上面搞,所以你需要用: Mac OS X 任意 Linux 发行版本(Ubuntu,CentOS, Redhat, ArchLinux ...) 强烈新手使用 Ubuntu 省掉不必要的麻烦! 以下代码区域,带有 $ 打头的表示需要在控制台(

mac快速正确的安装 Ruby, Rails 运行环境

Mac OS X 任意 Linux 发行版本(Ubuntu,CentOS, Redhat, ArchLinux ...) 强烈新手使用 Ubuntu 省掉不必要的麻烦! 以下代码区域,带有 $ 打头的表示需要在控制台(终端)下面执行(不包括 $ 符号) 步骤0 - 安装系统需要的包# For Mac # 先安装 [Xcode](http://developer.apple.com/xcode/) 开发工具,它将帮你安装好 Unix 环境需要的开发包 # 然后安装 [Homebrew](http:

Mac上安装Ruby

对于新入门的开发者,如何安装 Ruby和Ruby Gems 的运行环境可能会是个问题,本页主要介绍如何用一条靠谱的路子快速安装 Ruby 开发环境.此安装方法同样适用于产品环境! 系统需求 首先确定操作系统环境,不建议在 Windows 上面搞,所以你需要用: Mac OS X 任意 Linux 发行版本(Ubuntu,CentOS, Redhat, ArchLinux ...) 强烈新手使用 Ubuntu 省掉不必要的麻烦! 以下代码区域,带有 $ 打头的表示需要在控制台(终端)下面执行(不包

如何快速正确的安装 Ruby, Rails 运行环境

对于新入门的开发者,如何安装 Ruby, Ruby Gems 和 Rails 的运行环境可能会是个问题,本页主要介绍如何用一条靠谱的路子快速安装 Ruby 开发环境. 次安装方法同样适用于产品环境! 系统需求 首先确定操作系统环境,不建议在 Windows 上面搞,所以你需要用: Mac OS X 任意 Linux 发行版本(Ubuntu,CentOS, Redhat, ArchLinux ...) 强烈新手使用 Ubuntu 省掉不必要的麻烦! 以下代码区域,带有 $ 打头的表示需要在控制台(