You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -399,16 +396,25 @@ which isn't available in this ruby-build yet.
399
396
"portable_ruby": attr.bool(
400
397
default=False,
401
398
doc="""
402
-
When set to True, downloads portable Ruby from jdx/ruby instead of compiling via ruby-build.
399
+
When set to True, downloads portable Ruby from bazel-contrib/portable-ruby instead of compiling via ruby-build.
403
400
Has no effect on JRuby, TruffleRuby, or Windows (which use their own installation methods).
401
+
""",
402
+
),
403
+
"portable_ruby_release_suffix": attr.string(
404
+
default="",
405
+
doc="""
406
+
Release suffix for portable Ruby downloads from bazel-contrib/portable-ruby.
407
+
The release tag is constructed as `{version}-{suffix}` (e.g. `4.0.2-1`).
408
+
When empty (default), the built-in PORTABLE_RUBY_DEFAULT_SUFFIXES mapping is used.
409
+
Set explicitly to pin to a specific rebuild (e.g. `"2"` for `4.0.2-2`).
404
410
""",
405
411
),
406
412
"portable_ruby_checksums": attr.string_dict(
407
413
default= {},
408
414
doc="""
409
415
Platform checksums for portable Ruby downloads, overriding built-in checksums. Can be generated by running `bazel run @rules_ruby//tools/generate_portable_ruby_checksums`.
0 commit comments