We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e275bf commit b93a4e2Copy full SHA for b93a4e2
.github/workflows/build-gems.yml
@@ -54,6 +54,13 @@ jobs:
54
echo "Failed to detect rb-sys version from Cargo.lock" >&2
55
exit 1
56
fi
57
+
58
+ # Ruby 4.0 cross-compilation support requires newer rb-sys/rake-compiler-dock.
59
+ min_version="0.9.126"
60
+ if [ "$(printf '%s\n' "$version" "$min_version" | sort -V | tail -n1)" != "$version" ]; then
61
+ version="$min_version"
62
+ fi
63
64
echo "version=$version" >> "$GITHUB_OUTPUT"
65
66
- name: Build native gem with rb-sys-dock
0 commit comments