尝试使用RVM安装Ruby时,为什么会出现需求错误?

Pet*_*erb 1 ruby ubuntu ruby-on-rails rvm

我想在我的Ubuntu系统上安装带有RVM的Ruby 2.0并收到错误消息:

rvm 1.23.5 (master)
ubuntu 12.04 (LTS)

**---- Error message: -------**
rvm install 2.0.0
Searching for binary rubies, this might take some time.
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system.....................................................................................................................................
Error running 'requirements_debian_update_system ruby-2.0.0-p247',
please read /home/emzett/.rvm/log/1381812161_ruby-2.0.0-p247/update_system.log
Requirements installation failed with status: 100.
Run Code Online (Sandbox Code Playgroud)

pra*_*ase 6

使用以下方法更新系统

sudo apt-get update
Run Code Online (Sandbox Code Playgroud)

尝试:

rvm remove 2.0.0 # uninstall rvm
rvm get head --autolibs=3 # get the latest RVM and build required libs
rvm requirements # check if there are any dependencies that need to be installed.
rvm install ruby-2.0.0
Run Code Online (Sandbox Code Playgroud)