RVM rvm 1.29.12-next
Mac OS Big Sur on M1 chip
rvm install 2.6.4
fails with:
Error running '__rvm_make -j8',
please read /Users/jason/.rvm/log/1626110300_ruby-2.6.4/make.log
There has been an error while running make. Halting the installation.
the makefile error is:
error: implicit declaration of function 'ffi_prep_closure' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
result = ffi_prep_closure(pcl, cif, callback, (void *)self);