遇到了和楼主一样的问题,终于在这里(http://stackoverflow.com/questions/20789754/rvm-requirements-error-on-ubuntu-13-10)找到了线索,解决步骤如下:
$ rvm autolibs read-fail
$ rvm install 2.0.0-p353
Searchng for binary rubies, this might take some time.
No binary rubies available for: ubuntu/14.04/x86_64/ruby-2.0.0-p353.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Missing required packages: libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison libffi-dev
RVM autolibs is now configured with mode '2' => 'check and stop if missing',
please run rvm autolibs enable
to let RVM do its job or run and read rvm autolibs [help]
or visit https://rvm.io/rvm/autolibs for more information.
Requirements installation failed with status: 1.
虽然还是失败,但是已经提示了缺少的包,只要手工安装这些包,再重新运行上面的命令就可以了
$ sudo apt-get install libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake libtool bison libffi-dev $ rvm install 2.0.0-p353
查了一下官网,在这里(http://rvm.io/rvm/autolibs)有解释: Tell RVM to fail when something is missing (2) rvm autolibs read-fail