缺少对于的库文件
[[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错误