Ruby 3.2.2 YJIT not building

Can’t give away all my .travis.yml, here are some key parts:

language: ruby
dist: focal
 - 3.2.2
  - RUBY_CONFIGURE_OPTS="--enable-yjit"
  - RUBYOPT="--enable-yjit"
  npm: true
  bundler: true
sudo: false
  - mysql

I think you get the point here, again we are blocked from this particular build and need help asap. @montana?

Hi @howtotalktogirls,

Based on the tiny snippet you shared from your .travis.yml file, I can personally infer a good deal about the setup and workflow of your pipeline.

You need to disable the 3.2.2 binary of Ruby YJIT and set up your environment accordingly, add the following to your .travis.yml file:

  - curl -sSf | sh -s -- -y --default-toolchain stable
  - source "$HOME/.cargo/env"
  - rustc --version
  - RUBYCONFIGUREOPTS=--enable-yjit rvm reinstall 3.2.2 --disable-binary

This will enforce that the 3.2.2 version of YJIT is used without the pre-compiled binary, and it also sets up Rust with the stable toolchain.