From 4c73fbe595c4923e69c57f96429053828464d665 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Fri, 2 Jan 2026 11:54:18 -0700 Subject: [PATCH 1/4] docs: make a change to create a PR --- README.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e212a94b..f8e5c976 100755 --- a/README.md +++ b/README.md @@ -1,14 +1,16 @@ # Ruby Rules for Bazel +MEANINGLESS CHANGE: + ## Overview This repository hosts [Ruby][1] language ruleset for [Bazel][2]. The ruleset is known to work with: -- Bazel 8 using WORKSPACE and Bzlmod *(tested on CI)*. -- Bazel 7 using WORKSPACE and Bzlmod *(no longer tested on CI)*. -- Bazel 6 using WORKSPACE and Bzlmod *(no longer tested on CI)*. +- Bazel 8 using WORKSPACE and Bzlmod _(tested on CI)_. +- Bazel 7 using WORKSPACE and Bzlmod _(no longer tested on CI)_. +- Bazel 6 using WORKSPACE and Bzlmod _(no longer tested on CI)_. ## Getting Started @@ -28,7 +30,7 @@ rb_register_toolchains( ) ``` -3. *(Optional)* Download and install Bundler dependencies: +3. _(Optional)_ Download and install Bundler dependencies: ```bazel # WORKSPACE @@ -96,7 +98,7 @@ See [`examples`][14] directory for a comprehensive set of examples how to use th The following toolchains are known to work and tested on CI. | Ruby | Linux | macOS | Windows | -|------------------|-------|-------|---------| +| ---------------- | ----- | ----- | ------- | | MRI 3.5 | 🟩 | 🟩 | 🟥 | | MRI 3.4 | 🟩 | 🟩 | 🟩 | | MRI 3.3 | 🟩 | 🟩 | 🟩 | @@ -104,10 +106,10 @@ The following toolchains are known to work and tested on CI. | JRuby 10.0 | 🟩 | 🟩 | 🟩 | | TruffleRuby 25.0 | 🟩 | 🟩 | 🟥 | -The following toolchains were previously known to work but *no longer tested on CI*. +The following toolchains were previously known to work but _no longer tested on CI_. | Ruby | Linux | macOS | Windows | -|------------------|-------|-------|---------| +| ---------------- | ----- | ----- | ------- | | MRI 3.1 | 🟩 | 🟩 | 🟩 | | MRI 3.0 | 🟩 | 🟩 | 🟩 | | MRI 2.7 | 🟩 | 🟩 | 🟩 | @@ -142,22 +144,21 @@ However, some are known not to work or work only partially (e.g. mRuby has no bu ## Known Issues -* JRuby/TruffleRuby might need `HOME` variable exposed. +- JRuby/TruffleRuby might need `HOME` variable exposed. See [`examples/gem/.bazelrc`][7] to learn how to do that. This is to be fixed in [`jruby/jruby#5661`][9] and [`oracle/truffleruby#2784`][10]. -* JRuby might fail with `Errno::EACCES: Permission denied - NUL` error on Windows. +- JRuby might fail with `Errno::EACCES: Permission denied - NUL` error on Windows. You need to configure JDK to allow proper access. This is described in [`jruby/jruby#7182`][11]. -* RuboCop < 1.55 crashes with `LoadError` on Windows. +- RuboCop < 1.55 crashes with `LoadError` on Windows. This is fixed in [`rubocop/rubocop#12062`][12]. -* REPL doesn't work when used with `bazel test`. +- REPL doesn't work when used with `bazel test`. To work it around, use a debugger with remote client support such as [`ruby/debug`][8] . See [`examples/gem/.bazelrc`][7] to learn how to do that. -* Some gems contain files with spaces which cause Bazel error `link or target filename contains space`. +- Some gems contain files with spaces which cause Bazel error `link or target filename contains space`. To work it around, use [`--experimental_inprocess_symlink_creation`][16] Bazel flag. See [`bazelbuild/bazel#4327`][17] for more details. - [1]: https://www.ruby-lang.org [2]: https://bazel.build [3]: docs/repository_rules.md From b545099daacaaeaf73c845d06356736221ee3618 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Fri, 2 Jan 2026 13:47:42 -0700 Subject: [PATCH 2/4] docs: revert meaningless change --- README.md | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index f8e5c976..e212a94b 100755 --- a/README.md +++ b/README.md @@ -1,16 +1,14 @@ # Ruby Rules for Bazel -MEANINGLESS CHANGE: - ## Overview This repository hosts [Ruby][1] language ruleset for [Bazel][2]. The ruleset is known to work with: -- Bazel 8 using WORKSPACE and Bzlmod _(tested on CI)_. -- Bazel 7 using WORKSPACE and Bzlmod _(no longer tested on CI)_. -- Bazel 6 using WORKSPACE and Bzlmod _(no longer tested on CI)_. +- Bazel 8 using WORKSPACE and Bzlmod *(tested on CI)*. +- Bazel 7 using WORKSPACE and Bzlmod *(no longer tested on CI)*. +- Bazel 6 using WORKSPACE and Bzlmod *(no longer tested on CI)*. ## Getting Started @@ -30,7 +28,7 @@ rb_register_toolchains( ) ``` -3. _(Optional)_ Download and install Bundler dependencies: +3. *(Optional)* Download and install Bundler dependencies: ```bazel # WORKSPACE @@ -98,7 +96,7 @@ See [`examples`][14] directory for a comprehensive set of examples how to use th The following toolchains are known to work and tested on CI. | Ruby | Linux | macOS | Windows | -| ---------------- | ----- | ----- | ------- | +|------------------|-------|-------|---------| | MRI 3.5 | 🟩 | 🟩 | 🟥 | | MRI 3.4 | 🟩 | 🟩 | 🟩 | | MRI 3.3 | 🟩 | 🟩 | 🟩 | @@ -106,10 +104,10 @@ The following toolchains are known to work and tested on CI. | JRuby 10.0 | 🟩 | 🟩 | 🟩 | | TruffleRuby 25.0 | 🟩 | 🟩 | 🟥 | -The following toolchains were previously known to work but _no longer tested on CI_. +The following toolchains were previously known to work but *no longer tested on CI*. | Ruby | Linux | macOS | Windows | -| ---------------- | ----- | ----- | ------- | +|------------------|-------|-------|---------| | MRI 3.1 | 🟩 | 🟩 | 🟩 | | MRI 3.0 | 🟩 | 🟩 | 🟩 | | MRI 2.7 | 🟩 | 🟩 | 🟩 | @@ -144,21 +142,22 @@ However, some are known not to work or work only partially (e.g. mRuby has no bu ## Known Issues -- JRuby/TruffleRuby might need `HOME` variable exposed. +* JRuby/TruffleRuby might need `HOME` variable exposed. See [`examples/gem/.bazelrc`][7] to learn how to do that. This is to be fixed in [`jruby/jruby#5661`][9] and [`oracle/truffleruby#2784`][10]. -- JRuby might fail with `Errno::EACCES: Permission denied - NUL` error on Windows. +* JRuby might fail with `Errno::EACCES: Permission denied - NUL` error on Windows. You need to configure JDK to allow proper access. This is described in [`jruby/jruby#7182`][11]. -- RuboCop < 1.55 crashes with `LoadError` on Windows. +* RuboCop < 1.55 crashes with `LoadError` on Windows. This is fixed in [`rubocop/rubocop#12062`][12]. -- REPL doesn't work when used with `bazel test`. +* REPL doesn't work when used with `bazel test`. To work it around, use a debugger with remote client support such as [`ruby/debug`][8] . See [`examples/gem/.bazelrc`][7] to learn how to do that. -- Some gems contain files with spaces which cause Bazel error `link or target filename contains space`. +* Some gems contain files with spaces which cause Bazel error `link or target filename contains space`. To work it around, use [`--experimental_inprocess_symlink_creation`][16] Bazel flag. See [`bazelbuild/bazel#4327`][17] for more details. + [1]: https://www.ruby-lang.org [2]: https://bazel.build [3]: docs/repository_rules.md From 6cf1e1cda1948d17a3257aef09b06c4beb13f844 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Fri, 2 Jan 2026 13:49:16 -0700 Subject: [PATCH 3/4] fix: disable System Ruby on Windows for Gems example --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79d980c2..71a7fb78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,9 @@ jobs: # TruffleRuby doesn't work on Windows. - os: windows-latest ruby: truffleruby-25.0.0 + # GH282: System Ruby on Windows is no longer working. + - os: windows-latest + ruby: system defaults: run: working-directory: examples/gem From 9cee419a88d821667ae1b5664cdd5e4ebc994ea7 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Fri, 2 Jan 2026 13:53:00 -0700 Subject: [PATCH 4/4] chore: add daily CI run to catch failures caused by CI env --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71a7fb78..6e548fc3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,8 @@ on: - main tags: - v*.*.* + schedule: + - cron: 14 21 * * * concurrency: group: ${{ github.ref }}