Error running '__rvm_make -j 1'

Try rvm install 2.5.0 --disable-dtrace

the reason is here, https://github.com/rbenv/ruby-build/issues/1061,

possible Ruby build problem


I faced the same issue as the original poster.

Compilation would halt at

ruby-2.2.6 - #compiling...                                                                                                                   
Error running '__rvm_make -j 1',                                           
please read /Users/alexharvey/.rvm/log/1525652818_ruby-2.2.6/make.log
There has been an error while running make. Halting the installation.

Inspection of the make.log revealed:

translating probes probes.d
error: error reading '/dev/fd/4'
1 error generated.
clang: error: unable to remove file: Operation not permitted

I finally found this reference to Avira Anti-virus in this link.

I went to Avira Anti-virus and selected "disable real time protection" and tried again. That fixed it.

Tags:

Ruby

Rvm

Homebrew