We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 976ee03 commit 299c4d8Copy full SHA for 299c4d8
ruby/private/toolchains/ruby_runtime.bzl
@@ -47,6 +47,9 @@ def _list_libdirs(ruby):
47
def _install_dirs(ctx, ruby, *names):
48
paths = sorted([ruby.rbconfig(ruby, name) for name in names])
49
50
+ # JRuby reports some of the directories as nulls.
51
+ paths = [path for path in paths if path]
52
+
53
# Sometimes we end up with the same directory multiple times
54
# so make sure paths are unique by converting it to set.
55
# For example, this is what we have on Fedora 34:
0 commit comments