I've been trying to install Ruby using any version management for Ruby (RVM, Rbenv, ASDF and also ruby-install directly) and keep getting the same error.for some context:I am trying to install it for my React Native project where I am not able to run bundle install
because of some conflicts in the gem file and I want to test out different versions of ruby but I have a suspicion that it's using the system Ruby anyways so I wanted to try an RVM.
This is the error I am getting:
ruby-install 2.7.5 >>> Installing ruby 2.7.5 into /Users/my-user/.rubies/ruby-2.7.5 ...>>> Installing dependencies for ruby 2.7.5 ...Warning: automake 1.17 is already installed and up-to-date.To reinstall 1.17, run: brew reinstall automakeWarning: bison 3.8.2 is already installed and up-to-date.To reinstall 3.8.2, run: brew reinstall bisonWarning: readline 8.2.13 is already installed and up-to-date.To reinstall 8.2.13, run: brew reinstall readlineWarning: libyaml 0.2.5 is already installed and up-to-date.To reinstall 0.2.5, run: brew reinstall libyamlWarning: gdbm 1.24 is already installed and up-to-date.To reinstall 1.24, run: brew reinstall gdbmWarning: libffi 3.4.6 is already installed and up-to-date.To reinstall 3.4.6, run: brew reinstall libffiWarning: openssl@1.1 1.1.1w is already installed and up-to-date.To reinstall 1.1.1w, run: brew reinstall openssl@1.1>>> Downloading https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.5.tar.xz into /Users/my-user/src ... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed100 11.5M 100 11.5M 0 0 5299k 0 0:00:02 0:00:02 --:--:-- 5301k>>> Verifying ruby-2.7.5.tar.xz ...>>> Extracting ruby-2.7.5.tar.xz to /Users/my-user/src/ruby-2.7.5 ...>>> Configuring ruby 2.7.5 ...checking for ruby... /usr/bin/rubytool/config.guess already existstool/config.sub already existschecking build system type... aarch64-apple-darwin23.6.0checking host system type... aarch64-apple-darwin23.6.0checking target system type... aarch64-apple-darwin23.6.0checking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking how to run the C preprocessor... gcc -Echecking for grep that handles long lines and -e... /usr/bin/grepchecking for egrep... /usr/bin/grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking minix/config.h usability... nochecking minix/config.h presence... nochecking for minix/config.h... nochecking whether it is safe to define __EXTENSIONS__... yeschecking for gcc option to accept ISO C99... none neededchecking if minimum required OS X version is supported... yeschecking for g++... g++checking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yeschecking whether gcc needs -traditional... nochecking for ld... ldchecking whether the linker is GNU ld... nochecking whether gcc -E accepts -o... yeschecking for gcc... /usr/bin/gccchecking for real target cpu... arm64checking arch option... -m64checking for ranlib... (cached) :checking for ar... (cached) libtool -staticchecking for libtool -static flags... (cached) -no_warning_for_no_symbols -ochecking for as... aschecking for objdump... objdumpchecking for objcopy... nochecking for gobjcopy... nochecking for nm... nmchecking whether ln -s works... yeschecking whether make sets $(MAKE)... nochecking for a BSD-compatible install... /opt/homebrew/bin/ginstall -cchecking for a thread-safe mkdir -p... /opt/homebrew/bin/gmkdir -pchecking for dtrace... dtracechecking for dot... nochecking for doxygen... nochecking for pkg-config... pkg-configchecking for cd using physical directory... cd -Pchecking whether CFLAGS is valid... yeschecking whether LDFLAGS is valid... yeschecking whether -Wl,-R. is accepted as LDFLAGS... nochecking whether -Wl,-rpath,. is accepted as LDFLAGS... yeschecking whether -Wdeprecated-declarations is accepted as CFLAGS... yeschecking whether -Wdivision-by-zero is accepted as CFLAGS... yeschecking whether -Wduplicated-cond is accepted as CFLAGS... nochecking whether -Wimplicit-function-declaration is accepted as CFLAGS... yeschecking whether -Wimplicit-int is accepted as CFLAGS... yeschecking whether -Wmisleading-indentation is accepted as CFLAGS... yeschecking whether -Wpointer-arith is accepted as CFLAGS... yeschecking whether -Wshorten-64-to-32 is accepted as CFLAGS... yeschecking whether -Wwrite-strings is accepted as CFLAGS... yeschecking whether -Wimplicit-fallthrough=0 is accepted as CFLAGS... nochecking whether -Wmissing-noreturn is accepted as CFLAGS... yeschecking whether -Wno-cast-function-type is accepted as CFLAGS... yeschecking whether -Wno-constant-logical-operand is accepted as CFLAGS... yeschecking whether -Wno-long-long is accepted as CFLAGS... yeschecking whether -Wno-missing-field-initializers is accepted as CFLAGS... yeschecking whether -Wno-overlength-strings is accepted as CFLAGS... yeschecking whether -Wno-packed-bitfield-compat is accepted as CFLAGS... nochecking whether -Wno-parentheses-equality is accepted as CFLAGS... yeschecking whether -Wno-self-assign is accepted as CFLAGS... yeschecking whether -Wno-tautological-compare is accepted as CFLAGS... yeschecking whether -Wno-unused-parameter is accepted as CFLAGS... yeschecking whether -Wno-unused-value is accepted as CFLAGS... yeschecking whether -Wsuggest-attribute=format is accepted as CFLAGS... nochecking whether -Wsuggest-attribute=noreturn is accepted as CFLAGS... nochecking whether -Wunused-variable is accepted as CFLAGS... yeschecking whether -diag-disable=175,188,1684,2259,2312 is accepted as CFLAGS... nochecking whether -Wextra-tokens is accepted as CFLAGS... yeschecking whether -Wall -Wextra is accepted as CFLAGS... yeschecking whether -Qunused-arguments is accepted as CFLAGS... yeschecking whether -D_FORTIFY_SOURCE=2 is accepted as CFLAGS... yeschecking whether -fstack-protector-strong is accepted as CFLAGS... yeschecking whether -fstack-protector-strong is accepted as LDFLAGS... yeschecking whether -Wl,--compress-debug-sections=zlib is accepted as LDFLAGS... nochecking whether -std=gnu99 is accepted as CFLAGS... yeschecking whether -fno-strict-overflow is accepted as CFLAGS... yeschecking whether -ggdb3 is accepted as CFLAGS... yeschecking whether -fvisibility=hidden is accepted as CFLAGS... yeschecking whether -fno-fast-math is accepted as CFLAGS... yeschecking whether -fexcess-precision=standard is accepted as CFLAGS... nochecking whether -fp-model precise is accepted as CFLAGS... nochecking whether compiler has statement and declarations in expressions... yeschecking whether syscall(2) is deprecated... yeschecking for broken crypt with 8bit chars... yeschecking for codesign... codesignchecking for dsymutil... dsymutilchecking for crt_externs.h... yeschecking for crypt in -lcrypt... (cached) nochecking for dlopen in -ldl... yeschecking for shl_load in -ldld... nochecking for shutdown in -lsocket... nochecking for dirent.h that defines DIR... yeschecking for library containing opendir... none requiredchecking for stdbool.h that conforms to C99... yeschecking for _Bool... yeschecking for sys/wait.h that is POSIX.1 compatible... yeschecking a.out.h usability... nochecking a.out.h presence... nochecking for a.out.h... nochecking atomic.h usability... nochecking atomic.h presence... nochecking for atomic.h... nochecking copyfile.h usability... yeschecking copyfile.h presence... yeschecking for copyfile.h... yeschecking direct.h usability... nochecking direct.h presence... nochecking for direct.h... nochecking grp.h usability... yeschecking grp.h presence... yeschecking for grp.h... yeschecking fcntl.h usability... yeschecking fcntl.h presence... yeschecking for fcntl.h... yeschecking float.h usability... yeschecking float.h presence... yeschecking for float.h... yeschecking ieeefp.h usability... nochecking ieeefp.h presence... nochecking for ieeefp.h... nochecking intrinsics.h usability... nochecking intrinsics.h presence... nochecking for intrinsics.h... nochecking langinfo.h usability... yeschecking langinfo.h presence... yeschecking for langinfo.h... yeschecking limits.h usability... yeschecking limits.h presence... yeschecking for limits.h... yeschecking locale.h usability... yeschecking locale.h presence... yeschecking for locale.h... yeschecking malloc.h usability... nochecking malloc.h presence... nochecking for malloc.h... nochecking malloc/malloc.h usability... yeschecking malloc/malloc.h presence... yeschecking for malloc/malloc.h... yeschecking malloc_np.h usability... nochecking malloc_np.h presence... nochecking for malloc_np.h... nochecking net/socket.h usability... nochecking net/socket.h presence... nochecking for net/socket.h... nochecking process.h usability... nochecking process.h presence... nochecking for process.h... nochecking pwd.h usability... yeschecking pwd.h presence... yeschecking for pwd.h... yeschecking sanitizer/asan_interface.h usability... yeschecking sanitizer/asan_interface.h presence... yeschecking for sanitizer/asan_interface.h... yeschecking sanitizer/msan_interface.h usability... yeschecking sanitizer/msan_interface.h presence... yeschecking for sanitizer/msan_interface.h... yeschecking setjmpex.h usability... nochecking setjmpex.h presence... nochecking for setjmpex.h... nochecking stdalign.h usability... yeschecking stdalign.h presence... yeschecking for stdalign.h... yeschecking sys/attr.h usability... yeschecking sys/attr.h presence... yeschecking for sys/attr.h... yeschecking sys/eventfd.h usability... nochecking sys/eventfd.h presence... nochecking for sys/eventfd.h... nochecking sys/fcntl.h usability... yeschecking sys/fcntl.h presence... yeschecking for sys/fcntl.h... yeschecking sys/file.h usability... yeschecking sys/file.h presence... yeschecking for sys/file.h... yeschecking sys/id.h usability... nochecking sys/id.h presence... nochecking for sys/id.h... nochecking sys/ioctl.h usability... yeschecking sys/ioctl.h presence... yeschecking for sys/ioctl.h... yeschecking sys/mkdev.h usability... nochecking sys/mkdev.h presence... nochecking for sys/mkdev.h... nochecking sys/param.h usability... yeschecking sys/param.h presence... yeschecking for sys/param.h... yeschecking sys/prctl.h usability... nochecking sys/prctl.h presence... nochecking for sys/prctl.h... nochecking sys/resource.h usability... yeschecking sys/resource.h presence... yeschecking for sys/resource.h... yeschecking sys/select.h usability... yeschecking sys/select.h presence... yeschecking for sys/select.h... yeschecking sys/sendfile.h usability... nochecking sys/sendfile.h presence... nochecking for sys/sendfile.h... nochecking sys/socket.h usability... yeschecking sys/socket.h presence... yeschecking for sys/socket.h... yeschecking for sys/syscall.h... (cached) nochecking sys/sysmacros.h usability... nochecking sys/sysmacros.h presence... nochecking for sys/sysmacros.h... nochecking sys/time.h usability... yeschecking sys/time.h presence... yeschecking for sys/time.h... yeschecking sys/times.h usability... yeschecking sys/times.h presence... yeschecking for sys/times.h... yeschecking sys/uio.h usability... yeschecking sys/uio.h presence... yeschecking for sys/uio.h... yeschecking sys/utime.h usability... nochecking sys/utime.h presence... nochecking for sys/utime.h... nochecking for syscall.h... (cached) nochecking time.h usability... yeschecking time.h presence... yeschecking for time.h... yeschecking ucontext.h usability... yeschecking ucontext.h presence... yeschecking for ucontext.h... yeschecking utime.h usability... yeschecking utime.h presence... yeschecking for utime.h... yeschecking gmp.h usability... nochecking gmp.h presence... nochecking for gmp.h... nochecking for special C compiler options needed for large files... nochecking for _FILE_OFFSET_BITS value needed for large files... nochecking whether byte ordering is bigendian... nochecking for an ANSI C-conforming const... yeschecking whether char is unsigned... nochecking for inline... inlinechecking for working volatile... yeschecking for typeof syntax and keyword spelling... typeofchecking for C/C++ restrict keyword... __restrictchecking for long long... yeschecking for off_t... yeschecking char bit... 8checking size of int... 4checking size of short... 2checking size of long... 8checking size of long long... 8checking size of __int64... 0checking size of __int128... 16checking size of off_t... 8checking size of void*... 8checking size of float... 4checking size of double... 8checking size of time_t... 8checking size of clock_t... 8checking packed struct attribute... x __attribute__((packed))checking whether -Wno-address-of-packed-member is accepted as CFLAGS... yeschecking for printf prefix for long long... NONEchecking for pid_t... yeschecking for convertible type of pid_t... INTchecking for uid_t... yeschecking for convertible type of uid_t... UINTchecking for gid_t... yeschecking for convertible type of gid_t... UINTchecking for time_t... yeschecking for convertible type of time_t... LONGchecking for dev_t... yeschecking for convertible type of dev_t... INTchecking for mode_t... yeschecking for convertible type of mode_t... USHORTchecking for rlim_t... yeschecking for convertible type of rlim_t... ULLchecking for off_t... (cached) yeschecking for convertible type of off_t... LLchecking for clockid_t... yeschecking for convertible type of clockid_t... UINTchecking for prototypes... yeschecking token paste string... ansichecking stringization... #exprchecking string literal concatenation... yeschecking for variable length prototypes and stdarg.h... yeschecking for variable length macro... yeschecking for alignas() syntax... __attribute__((__aligned__(x)))checking for alignof() syntax... alignofchecking for CONSTFUNC function attribute... __attribute__ ((__const__)) xchecking for PUREFUNC function attribute... __attribute__ ((__pure__)) xchecking for NORETURN function attribute... __attribute__ ((__noreturn__)) xchecking for DEPRECATED function attribute... __attribute__ ((__deprecated__)) xchecking for DEPRECATED_BY function attribute... __attribute__ ((__deprecated__("by "#n))) xchecking for DEPRECATED_TYPE type attribute... x __attribute__ ((__deprecated__ mesg))checking for NOINLINE function attribute... __attribute__ ((__noinline__)) xchecking for ALWAYS_INLINE function attribute... __attribute__ ((__always_inline__)) xchecking for NO_SANITIZE function attribute... __attribute__ ((__no_sanitize__(san))) xchecking for NO_SANITIZE_ADDRESS function attribute... __attribute__ ((__no_sanitize_address__)) xchecking for NO_ADDRESS_SAFETY_ANALYSIS function attribute... __attribute__ ((__no_address_safety_analysis__)) xchecking for WARN_UNUSED_RESULT function attribute... __attribute__ ((__warn_unused_result__)) xchecking for MAYBE_UNUSED function attribute... __attribute__ ((__unused__)) xchecking for ERRORFUNC function attribute... __attribute__ ((__error__ mesg)) xchecking for WARNINGFUNC function attribute... __attribute__ ((__warning__ mesg)) xchecking for WEAK function attribute... __attribute__ ((__weak__)) xchecking for __attribute__((__depreacted__(msg))) in C++... yeschecking for FUNC_STDCALL function attribute... xchecking for FUNC_CDECL function attribute... __attribute__ ((__cdecl__)) xchecking for FUNC_FASTCALL function attribute... xchecking for FUNC_UNOPTIMIZED function attribute... xchecking for FUNC_MINIMIZED function attribute... xchecking for function alias... nochecking for __atomic builtins... yeschecking for __sync builtins... yeschecking for __builtin_unreachable... yeschecking for exported function attribute... __attribute__ ((__visibility__("default")))checking for RUBY_FUNC_NONNULL function attribute... __attribute__ ((__nonnull__(n))) xchecking for function name string predefined identifier... nochecking if enum over int is allowed... yeschecking whether sys_nerr is declared... yeschecking whether getenv is declared... yeschecking for size_t... yeschecking size of size_t... 8checking size of ptrdiff_t... 8checking for printf prefix for size_t... NONEchecking for printf prefix for ptrdiff_t... NONEchecking for struct stat.st_blksize... yeschecking for struct stat.st_blocks... yeschecking for struct stat.st_rdev... yeschecking size of struct stat.st_size... SIZEOF_OFF_Tchecking size of struct stat.st_blocks... SIZEOF_OFF_Tchecking size of struct stat.st_ino... SIZEOF_LONGchecking for struct stat.st_atim... nochecking for struct stat.st_atimespec... yeschecking for struct stat.st_atimensec... nochecking for struct stat.st_mtim... nochecking for struct stat.st_mtimespec... yeschecking for struct stat.st_mtimensec... nochecking for struct stat.st_ctim... nochecking for struct stat.st_ctimespec... yeschecking for struct stat.st_ctimensec... nochecking for struct stat.st_birthtimespec... yeschecking for struct timeval... yeschecking size of struct timeval.tv_sec... SIZEOF_TIME_Tchecking for struct timespec... yeschecking for struct timezone... yeschecking for fd_mask... yeschecking for int8_t... yeschecking size of int8_t... 1checking for uint8_t... yeschecking size of uint8_t... 1checking for int16_t... yeschecking size of int16_t... 2checking for uint16_t... yeschecking size of uint16_t... 2checking for int32_t... yeschecking size of int32_t... 4checking for uint32_t... yeschecking size of uint32_t... 4checking for int64_t... yeschecking size of int64_t... 8checking for uint64_t... yeschecking size of uint64_t... 8checking for int128_t... __int128checking for uint128_t... unsigned __int128checking for intptr_t... yeschecking size of intptr_t... 8checking for uintptr_t... yeschecking size of uintptr_t... 8checking for printf prefix for intptr_t... NONEchecking for ssize_t... yeschecking size of ssize_t... 8checking for printf prefix for int64_t... NONEchecking for stack end address... nochecking for uid_t in sys/types.h... (cached) yeschecking type of array argument to getgroups... (cached) gid_tchecking for working alloca.h... yeschecking for alloca... yeschecking for dynamic size alloca... okchecking for working memcmp... yeschecking for acosh... yeschecking for cbrt... yeschecking for crypt... yeschecking for dup2... yeschecking for erf... yeschecking for explicit_bzero... nochecking for ffs... yeschecking for flock... yeschecking for hypot... yeschecking for lgamma_r... yeschecking for memmove... yeschecking for nan... yeschecking for nextafter... yeschecking for setproctitle... nochecking for strchr... yeschecking for strerror... yeschecking for strlcat... yeschecking for strlcpy... yeschecking for strstr... yeschecking for tgamma... yeschecking whether finite is declared... nochecking for finite... nochecking whether isinf is declared... yeschecking whether isnan is declared... yeschecking sys/pstat.h usability... nochecking sys/pstat.h presence... nochecking for sys/pstat.h... nochecking for signbit... yeschecking for pid_t... (cached) yeschecking vfork.h usability... nochecking vfork.h presence... nochecking for vfork.h... nochecking for fork... yeschecking for vfork... (cached) nochecking for working fork... yeschecking for __syscall... (cached) nochecking for _longjmp... yeschecking for arc4random_buf... yeschecking for atan2l... yeschecking for atan2f... yeschecking for chroot... yeschecking for chsize... nochecking for clock_gettime... yeschecking for copy_file_range... nochecking for cosh... yeschecking for crypt_r... nochecking for daemon... (cached) nochecking for dirfd... yeschecking for dl_iterate_phdr... nochecking for dlopen... yeschecking for dladdr... yeschecking for dup... yeschecking for dup3... nochecking for eaccess... nochecking for endgrent... yeschecking for eventfd... nochecking for explicit_memset... nochecking for fcopyfile... yeschecking for fchmod... yeschecking for fchown... yeschecking for fcntl... yeschecking for fdatasync... (cached) nochecking for fdopendir... yeschecking for fgetattrlist... yeschecking for fmod... yeschecking for fstatat... yeschecking for fsync... yeschecking for ftruncate... yeschecking for ftruncate64... nochecking for getattrlist... yeschecking for getcwd... yeschecking for getgidx... nochecking for getgrnam... yeschecking for getgrnam_r... yeschecking for getgroups... yeschecking for getlogin... yeschecking for getlogin_r... yeschecking for getpgid... yeschecking for getpgrp... yeschecking for getpriority... yeschecking for getpwnam... yeschecking for getpwnam_r... yeschecking for getpwuid... yeschecking for getpwuid_r... yeschecking for getrandom... nochecking for getresgid... nochecking for getresuid... nochecking for getrlimit... yeschecking for getsid... yeschecking for gettimeofday... yeschecking for getuidx... nochecking for gmtime_r... yeschecking for grantpt... yeschecking for initgroups... yeschecking for ioctl... yeschecking for isfinite... nochecking for issetugid... yeschecking for killpg... yeschecking for lchmod... yeschecking for lchown... yeschecking for link... yeschecking for llabs... yeschecking for lockf... yeschecking for log2... yeschecking for lstat... yeschecking for lutimes... yeschecking for malloc_usable_size... nochecking for malloc_size... yeschecking for mblen... yeschecking for memalign... nochecking for memset_s... yeschecking for writev... yeschecking for memrchr... nochecking for memmem... yeschecking for mkfifo... yeschecking for mknod... yeschecking for mktime... yeschecking for openat... yeschecking for pipe2... nochecking for poll... yeschecking for posix_fadvise... nochecking for posix_memalign... yeschecking for ppoll... nochecking for pread... yeschecking for pwrite... yeschecking for qsort_r... yeschecking for qsort_s... nochecking for readlink... yeschecking for realpath... yeschecking for round... yeschecking for sched_getaffinity... nochecking for seekdir... yeschecking for select_large_fdset... nochecking for sendfile... yeschecking for setegid... yeschecking for setenv... yeschecking for seteuid... yeschecking for setgid... yeschecking for setgroups... yeschecking for setpgid... yeschecking for setpgrp... yeschecking for setregid... yeschecking for setresgid... nochecking for setresuid... nochecking for setreuid... yeschecking for setrgid... yeschecking for setrlimit... yeschecking for setruid... yeschecking for setsid... yeschecking for setuid... yeschecking for shutdown... yeschecking for sigaction... yeschecking for sigaltstack... yeschecking for sigprocmask... yeschecking for sinh... yeschecking for spawnv... nochecking for symlink... yeschecking for syscall... (cached) nochecking for sysconf... yeschecking for tanh... yeschecking for telldir... yeschecking for timegm... yeschecking for times... yeschecking for truncate... yeschecking for truncate64... nochecking for unsetenv... yeschecking for utimensat... yeschecking for utimes... yeschecking for wait4... yeschecking for waitpid... yeschecking if getcwd allocates buffer if NULL is given... yeschecking for __builtin_alloca_with_align... yeschecking for __builtin_assume_aligned... yeschecking for __builtin_bswap16... yeschecking for __builtin_bswap32... yeschecking for __builtin_bswap64... yeschecking for __builtin_popcount... yeschecking for __builtin_popcountll... yeschecking for __builtin_clz... yeschecking for __builtin_clzl... yeschecking for __builtin_clzll... yeschecking for __builtin_ctz... yeschecking for __builtin_ctzll... yeschecking for __builtin_add_overflow... yeschecking for __builtin_sub_overflow... yeschecking for __builtin_mul_overflow... yeschecking for __builtin_mul_overflow_p... nochecking for __builtin_constant_p... yeschecking for __builtin_choose_expr... yeschecking for __builtin_choose_expr_constant_p... yeschecking for __builtin_types_compatible_p... yeschecking for __builtin_trap... yeschecking whether qsort_r is GNU version... nochecking whether qsort_r is BSD version... yeschecking whether atan2 handles Inf as C99... yeschecking for clock_getres... yeschecking for timer_create in -lrt... nochecking for timer_settime in -lrt... nochecking for unsetenv returns a value... yeschecking whether struct tm is in sys/time.h or time.h... time.hchecking for struct tm.tm_zone... yeschecking for struct tm.tm_gmtoff... yeschecking for external int daylight... yeschecking for negative time_t for gmtime(3)... yeschecking for localtime(3) overflow correctly... yeschecking for sig_t... yeschecking whether right shift preserve sign bit... yeschecking whether _SC_CLK_TCK is supported... yeschecking stack growing direction on arm64... -1checking native coroutine implementation for arm64-darwin23... arm64checking for pthread_create in -lthr... nochecking for pthread_create in -lpthread... yeschecking for pthread_np.h... nochecking whether pthread_t is scalar type... yeschecking for sched_yield... yeschecking for pthread_attr_setinheritsched... yeschecking for pthread_attr_get_np... nochecking for pthread_attr_getstack... yeschecking for pthread_attr_getguardsize... yeschecking for pthread_get_stackaddr_np... yeschecking for pthread_get_stacksize_np... yeschecking for thr_stksegment... nochecking for pthread_stackseg_np... nochecking for pthread_getthrds_np... nochecking for pthread_condattr_setclock... nochecking for pthread_sigmask... yeschecking for pthread_setname_np... yeschecking for pthread_set_name_np... nochecking for pthread_getattr_np... nochecking arguments of pthread_setname_np... (name)checking if mcontext_t is a pointer... yeschecking for getcontext... (cached) nochecking for setcontext... (cached) nochecking if fork works with pthread... yeschecking whether ELF binaries are produced... nochecking mach-o/loader.h usability... yeschecking mach-o/loader.h presence... yeschecking for mach-o/loader.h... yeschecking whether OS depend dynamic link works... yeschecking whether -Wl,-undefined,dynamic_lookup is accepted as LDFLAGS... yeschecking whether -Wl,-multiply_defined,suppress is accepted as LDFLAGS... nochecking libproc.h usability... yeschecking libproc.h presence... yeschecking for libproc.h... yeschecking execinfo.h usability... yeschecking execinfo.h presence... yeschecking for execinfo.h... yeschecking for backtrace in -lexecinfo... nochecking libunwind.h usability... yeschecking libunwind.h presence... yeschecking for libunwind.h... yeschecking for backtrace... yeschecking for broken backtrace... yeschecking valgrind/memcheck.h usability... nochecking valgrind/memcheck.h presence... nochecking for valgrind/memcheck.h... nochecking for strip... stripchecking whether -fPIE is accepted as CFLAGS... yeschecking whether -pie is accepted as LDFLAGS... nochecking whether -Wl,-pie is accepted as LDFLAGS... yeschecking whether wrapper for DYLD_FALLBACK_LIBRARY_PATH is needed... yeschecking whether dtrace USDT is available... yes(-xnolibs)checking whether dtrace needs post processing... nochecking for __builtin_setjmp... (cached) nochecking for _setjmpex as a macro or function... nochecking for _setjmp as a macro or function... yeschecking for sigsetjmp as a macro or function... yeschecking for setjmp type... sigsetjmp,0checking for prefix of external symbols... _checking pthread.h usability... yeschecking pthread.h presence... yeschecking for pthread.h... yeschecking if make is GNU make... make ℹ info Invoking all targetnode:internal/process/promises:246 triggerUncaughtException(err, true /* fromPromise */); ^[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] { code: 'ERR_UNHANDLED_REJECTION'}nochecking for safe null command for make... configure: error: no candidate for safe null command!!! Configuration of ruby 2.7.5 failed!my-user@Danis-MacBook-Pro-6 ~ %
I am also looking for tips on how to debug this at all.Thanks.
I tried installing ruby using RVM, RBENV, Ruby-install and nothing worked with the same failure.