I have 3.3.0 on my system so it built that when i donwloaded it. But I just tried to update to 3.3.6 and i am getting a build failure. According the Apple's Settings > General > Software Update the only thing out of date is the OS itself (I am on 14.6.1, but they are pushing 15.1).
Here is the LOG
cd /var/folders/wq/_qpbnq5d6xj1bhgyyf5cp9j80000gn/T/ruby-build.20241117135100.5544.RIJosf
==> Downloading ruby-3.3.6.tar.gz...
-> curl -q -fL -o ruby-3.3.6.tar.gz https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.tar.gz
-> tar xzf ruby-3.3.6.tar.gz
cd /var/folders/wq/_qpbnq5d6xj1bhgyyf5cp9j80000gn/T/ruby-build.20241117135100.5544.RIJosf/ruby-3.3.6
==> Installing ruby-3.3.6...
-> ./configure "--prefix=$HOME/.rbenv/versions/3.3.6" --with-openssl-dir=/usr/local/opt/openssl@3 --enable-shared --with-libyaml-dir=/usr/local/opt/libyaml --with-gmp-dir=/usr/local/opt/gmp --with-ext=openssl,psych,+
checking for ruby... /Users/bradhutchins/.rbenv/shims/ruby
tool/config.guess already exists
tool/config.sub already exists
checking build system type... x86_64-apple-darwin23.6.0
checking host system type... x86_64-apple-darwin23.6.0
checking target system type... x86_64-apple-darwin23.6.0
checking for ld... ld
checking for llvm-ar... llvm-ar
checking for clang++... clang++
checking for llvm-nm... llvm-nm
checking for llvm-objcopy... llvm-objcopy
checking for llvm-objdump... llvm-objdump
checking for llvm-ranlib... llvm-ranlib
checking for llvm-strip... llvm-strip
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/var/folders/wq/_qpbnq5d6xj1bhgyyf5cp9j80000gn/T/ruby-build.20241117135100.5544.RIJosf/ruby-3.3.6':
configure: error: C compiler cannot create executables
See `config.log' for more details
external command failed with status 77
I have 3.3.0 on my system so it built that when i donwloaded it. But I just tried to update to 3.3.6 and i am getting a build failure. According the Apple's Settings > General > Software Update the only thing out of date is the OS itself (I am on 14.6.1, but they are pushing 15.1).
Here is the LOG