尝试在 ROSA 发行版上使用 RVM 安装 Ruby 时,出现以下错误:
$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: redhat/1
2012
86
64/x86_64/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for redhat.
Installing requirements for redhat.
Updating system
asus password required for '/usr/bin/env PATH=/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/usr/lib/qt4/bin:/home/asus/bin:/home/asus/.rvm/bin:/sbin:/usr/sbin:/usr/local/sbin yum install -y gcc-c++ readline-devel libffi-devel openssl-devel autoconf automake libtool bison': Installing required packages: gcc-c++, readline-devel, libffi-devel, openssl-devel, autoconf, automake, libtool, bison
.
Error running 'requirements_centos_libs_install gcc-c++ readline-devel libffi-devel openssl-devel autoconf automake libtool bison',
please read /home/asus/.rvm/log/1379530315_ruby-2.0.0-p247/package_install_gcc-c++_readline-devel_libffi-devel_openssl-devel_autoconf_automake_libtool_bison.log
Requirements installation failed with status: 1.
显然 RVM 不能正确识别系统。我能做些什么来避免这个问题?