rvm 安装ruby Error running 'requirements_centos_update_system ruby-1.8.6-p420'

错误信息:

[root@localhost rvm]# rvm install 1.8.6
Searching for binary rubies, this might take some time.
No binary rubies available for: centos/6/x86_64/ruby-1.8.6-p420.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for centos.
Installing requirements for centos.
Updating system

.....................................
Error running 'requirements_centos_update_system ruby-1.8.6-p420',
please read /usr/local/rvm/log/1395076154_ruby-1.8.6-p420/update_system.log
Requirements installation failed with status: 1.

-----------------------------------------------------------------------------------------------------------------------------

解决方式:

执行以下命令:

rvm autolibs enable

点赞