Verified Commit 700ec88d authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason 2️⃣
Browse files

Use precompiled Ruby to avoid OpenSSL source build

The standard-build CI job runs `mise install`, which builds the pinned
Ruby from source via ruby-build. ruby-build's `needs_openssl` check cannot
detect the system OpenSSL because the CI images ship only the OpenSSL
runtime, not the dev headers or pkg-config, so it vendors and compiles
openssl-3.0.20 from source. That compile is slow and fails the job.

Setting `ruby.compile = false` makes mise install precompiled Ruby, which
bundles its own OpenSSL and skips ruby-build entirely. This also matches
the default mise will adopt in 2026.8.0.

Co-Authored-By: default avatarClaude Fable 5 <noreply@anthropic.com>
parent befdbd0c
Loading
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
[settings]
legacy_version_file = false
# Install precompiled Ruby instead of building from source. The from-source
# build compiles a vendored OpenSSL (ruby-build's `needs_openssl` check fails
# because CI images ship the OpenSSL runtime but no dev headers/pkg-config),
# and that compile is slow and fails in CI. Precompiled Ruby bundles its own
# OpenSSL and sidesteps it. This becomes mise's default in 2026.8.0.
ruby.compile = false

[tools]
# Please continue to use `.tool-versions` to specify tool versions, rather than adding them directly here.