title: You may have encountered a bug in the Ruby interpreter or extension libraries
body: <p>I have got a new MacBook, and are trying to install some pods.
  I first did <code>sudo gem install cocoapods</code> on root, then did <code>pod install</code> in the directory I need the pods.
  Got this error, and have no clue what went wrong.</p>
  <p>From Crash Report:<br />
  Process:               ruby [5444]
  Path:                  /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
  Identifier:            ruby
  Version:               145.100.1
  Code Type:             ARM-64 (Native)
  Parent Process:        zsh [5282]
  Responsible:           Terminal [5005]
  User ID:               501</p>
  <p>Date/Time:             2021-09-27 21:24:20.779 +0200
  OS Version:            macOS 11.6 (20G165)
  Report Version:        12
  Anonymous UUID:       --D950-78ED-2DF378C6BA5B</p>
  <p>Sleep/Wake UUID:      -FE18-47F9-9A4EF2935C96</p>
  <p>Time Awake Since Boot: 29000 seconds
  Time Since Wake:       1900 seconds</p>
  <p>System Integrity Protection: enabled</p>
  <p>Crashed Thread:        0  Dispatch queue: com.apple.main-thread</p>
  <p>Exception Type:        EXC_BAD_INSTRUCTION (SIGABRT)
  Exception Codes:       0x0000000000000001, 0x0000000000000000
  Exception Note:        EXC_CORPSE_NOTIFY</p>
  <p>Application Specific Information:
  dyld3 mode
  abort() called.<br />
  x<br />
  x<br />
  x<br />
  x<br />
  External Modification Summary:
  Calls made by other processes targeting this process:
  task_for_pid: 0
  thread_create: 0
  thread_set_state: 0
  Calls made by this process:
  task_for_pid: 0
  thread_create: 0
  thread_set_state: 0
  Calls made by all processes on this machine:
  task_for_pid: 0
  thread_create: 0
  thread_set_state: 0</p>
  <p>VM Region Summary:
  ReadOnly portion of Libraries: Total=574.8M resident=0K(0%) swapped_out_or_unallocated=574.8M(100%)
  Writable regions: Total=356.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=356.4M(100%)</p>
  <pre><code>                            VIRTUAL   REGION 
  </code></pre>
  <p>REGION TYPE                        SIZE    COUNT (non-coalesced)
  ===========                     =======  =======
  Activity Tracing                   256K        1
  Kernel Alloc Once                   32K        1
  MALLOC                           105.2M       32
  MALLOC guard page                   96K        5
  MALLOC_MEDIUM (reserved)         240.0M        2         reserved VM address space (unallocated)
  STACK GUARD                       56.1M        4
  Stack                             10.6M        4
  VM_ALLOCATE                        1.0G        4
  VM_ALLOCATE (reserved)              12K        1         reserved VM address space (unallocated)
  __AUTH                             273K       64
  __AUTH_CONST                      3528K      153
  __DATA                            1616K      162
  __DATA_CONST                      4536K      173
  __DATA_DIRTY                       313K       63
  __LINKEDIT                       490.7M       27
  __OBJC_CONST                       437K       41
  __OBJC_RO                         75.1M        1
  __OBJC_RW                         2576K        1
  __TEXT                            84.2M      185
  __UNICODE                          588K        1
  shared memory                       32K        2
  ===========                     =======  =======
  TOTAL                              2.1G      927
  TOTAL, minus reserved VM space     1.8G      927</p>