首页 > 解决方案 > ruby 版本未安装 <= 2.2.5 或 2.2.0

问题描述

我在使用 rvm 作为我的 ruby​​ 版本管理器的 Linux 系统上安装 ruby​​ 2.2.0 时遇到问题:

Searching for binary rubies, this might take some time.
No binary rubies available for: kali/kali-rolling/x86_64/ruby-2.2.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Installing Ruby from source to: /root/.rvm/rubies/ruby-2.2.0, this may take a while depending on your cpu(s)...
ruby-2.2.0 - #downloading ruby-2.2.0, this may take a while depending on your connection...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 12.6M  100 12.6M    0     0   9223      0  0:24:02  0:24:02 --:--:--  8338
ruby-2.2.0 - #extracting ruby-2.2.0 to /root/.rvm/src/ruby-2.2.0.....
ruby-2.2.0 - #applying patch /root/.rvm/patches/ruby/2.2.0/fix_installing_bundled_gems.patch.
ruby-2.2.0 - #applying patch /root/.rvm/patches/ruby/2.2.0/openssl3.patch.
ruby-2.2.0 - #configuring.........................................................
ruby-2.2.0 - #post-configuration..
ruby-2.2.0 - #compiling..............................................................................................................................................................................-
Error running '__rvm_make -j4',
please read /root/.rvm/log/1612011949_ruby-2.2.0/make.log

There has been an error while running make. Halting the installation.

标签: rubylinuxrvm

解决方案


推荐阅读