I'm trying to install Ruby 3.1.2 on macOS 12.5, using chruby as my version manager.
Running ruby-install ruby
, I get this error:
>>> Extracting ruby-3.1.2.tar.xz to /Users/justin/src/ruby-3.1.2 ...
/usr/local/bin/../share/ruby-install/util.sh: line 56: xzcat: command not found
/usr/local/bin/ruby-install: line 46: cd: /Users/justin/src/ruby-3.1.2: No such file or directory
>>> Regenerating ./configure script ...
autoreconf: error: 'configure.ac' is required
!!! Configuration of ruby 3.1.2 failed!
I'm not quite sure how to troubleshoot this. Anybody have some tips for me?