RVM没有安装Ruby-2.2;运行'__rvm_make -j4'

时间:2020-02-13 02:13:21

标签: ruby macos rubygems cocoapods rvm

当我尝试下载Cocoapods时,它说:

XXXX: ~ XXX$ sudo gem install cocoapods
Password:XX
ERROR: Error install cocoapods:
minitest requires Ruby version ~> 2.2.

然后我尝试各种方法来安装ruby,但这给了我:

Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/osx/10.11/x86_64/ruby-2.2.5.tar.bz2
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
ruby-2.2.5 - #configure
ruby-2.2.5 - #download
ruby-2.2.5 - #validate archive
ruby-2.2.5 - #extract
ruby-2.2.5 - #validate binary
Libraries missing for ruby-2.2.5: __rvm_ls. Refer to your system manual for installing libraries
Mounting remote ruby failed with status 10, trying to compile.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/vishaljayakumar/.rvm/rubies/ruby-2.2.5, this may take a while depending on your cpu(s)...
ruby-2.2.5 - #downloading ruby-2.2.5, this may take a while depending on your connection...
ruby-2.2.5 - #extracting ruby-2.2.5 to /Users/vishaljayakumar/.rvm/src/ruby-2.2.5.....
ruby-2.2.5 - #applying patch /Users/vishaljayakumar/.rvm/patches/ruby/2.2.5/fix_installing_bundled_gems.patch.
ruby-2.2.5 - #applying patch /Users/vishaljayakumar/.rvm/patches/ruby/2.2.5/openssl3.patch.
ruby-2.2.5 - #configuring......................................................-
ruby-2.2.5 - #post-configuration.
ruby-2.2.5 - #compiling........................................................|
Error running '__rvm_make -j4',
please read /Users/vishaljayakumar/.rvm/log/1581558007_ruby-2.2.5/make.log

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

我该怎么办? 我在这里确实完成了每个解决方案,但它不起作用: Github Error Page

让我只列出其中一些只是供您查看。

  • rvm抢先了

  • rvm mount -r https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.8.tar.bz2

  • rvm保持稳定; rvm重新加载; rvm安装“ ruby​​-2.2.X”

  • 与openssl有关(我不知道它是什么)

  • rvm install ruby​​-2.6.5 --with-openssl-dir ='{openssl目录}

  • sudo xcode-select -s /Applications/Xcode.app

  • rvm install 2.6.4

  • brew安装homebrew / portable-ruby / portable-openssl

  • rvm重新安装ruby-2.3.1 --with-openssl-dir = / usr / local / opt / portable-openssl /

请给我一个不在此处(或以上其中之一)的解决方案。

我有点绝望,因为我在这些命令上浪费了很多时间!

我有任何答案或评论!!!

0 个答案:

没有答案