我想在我的 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.
最佳答案
使用以下方法更新系统:
sudo apt-get update
尝试:
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
关于ruby-on-rails - 为什么在尝试使用 RVM 安装 Ruby 时出现需求错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19373560/