rules_ruby is a dev_dependency, but it's actually required if you want to run conformance tests in an external repo with a Bzlmod dependency on protobuf (even when that repo has nothing to do with Ruby). That's because conformance/BUILD loads from @rules_ruby//ruby:defs.bzl and //ruby:defs.bzl.
I see 2 ways to deal with this:
- ideal: Move
conformance_ruby and related stuff to a different directory, so I can depend on conformance_proto in my external repo without needing the rules_ruby dev dependency. We could move it to a new directory /conformance/ruby, or /ruby/conformance, or somewhere else. Happy to open this PR.
- Make the
rules_ruby dependency non-dev-only, so it's included in the dependency tree in the external repo.