% gem install stringio
Building native extensions. This could take a while...
ERROR: Error installing stringio:
ERROR: Failed to build gem native extension.
current directory: /Users/mperham/.gem/ruby/3.3.5/gems/stringio-3.1.2/ext/stringio
/Users/mperham/.rubies/ruby-3.3.5/bin/ruby extconf.rb
creating Makefile
current directory: /Users/mperham/.gem/ruby/3.3.5/gems/stringio-3.1.2/ext/stringio
make DESTDIR\= sitearchdir\=./.gem.20241108-66330-my83w1 sitelibdir\=./.gem.20241108-66330-my83w1 clean
current directory: /Users/mperham/.gem/ruby/3.3.5/gems/stringio-3.1.2/ext/stringio
make DESTDIR\= sitearchdir\=./.gem.20241108-66330-my83w1 sitelibdir\=./.gem.20241108-66330-my83w1
compiling stringio.c
linking shared-object stringio.bundle
current directory: /Users/mperham/.gem/ruby/3.3.5/gems/stringio-3.1.2/ext/stringio
make DESTDIR\= sitearchdir\=./.gem.20241108-66330-my83w1 sitelibdir\=./.gem.20241108-66330-my83w1 install
make: /opt/homebrew/bin/gmkdir: No such file or directory
make: *** [.sitearchdir.time] Error 1
make install failed, exit code 2
Gem files will remain installed in /Users/mperham/.gem/ruby/3.3.5/gems/stringio-3.1.2 for inspection.
Results logged to /Users/mperham/.gem/ruby/3.3.5/extensions/arm64-darwin-23/3.3.0-static/stringio-3.1.2/gem_make.out
I'm on an M1 MBP using macOS 15.0.1.