rvm / rvm

Ruby enVironment Manager (RVM)
https://rvm.io
Other
5.11k stars 1.02k forks source link

Error compiling ruby-2.5.1 '__rvm_make -j4' #4944

Open J-Krush opened 4 years ago

J-Krush commented 4 years ago

Description

I am attempting to install ruby 2.5.1 via RVM. I am getting stuck in the compilation of this ruby.

Steps to reproduce

  1. Installed RVM via the instructions here: https://rvm.io/rvm/install
  2. rvm install 2.5.1

Alternatively I have:

Expected behavior

Clean install of ruby 2.5.1.

Actual behavior

The make.log file is far too long for a gist, so I created a snippet of what is actually displayed. It's essentially thousands of lines of this:

_Nullable /usr/local/include/stdlib.h:356:13: note: insert '_Nonnull' if the pointer should never be null extern char *suboptarg; /* getsubopt(3) external variable */ ^ _Nonnull

The error is with the stdlib, so I thought it would have something to do with xcode command-line-tools, but I installed those several times now.

Environment info

rvm info

J-Krush commented 4 years ago

Also, I'm new to Ruby and RVM, so let me know if I'm doing something dumb.