We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 492dca3 commit 2b01905Copy full SHA for 2b01905
ruby/private/sdk.bzl
@@ -4,7 +4,7 @@ load(
4
)
5
6
def ruby_register_toolchains(version = "host"):
7
- """Registersr ruby toolchains in the WORKSPACE file."""
+ """Registers ruby toolchains in the WORKSPACE file."""
8
9
supported_versions = ["host", "2.6.3", "2.6.5"]
10
if version in supported_versions:
@@ -13,7 +13,7 @@ def ruby_register_toolchains(version = "host"):
13
version = version,
14
15
else:
16
- fail("unsupported ruby version in `ruby_register_toolchains`")
+ fail("ruby_register_toolchains: unsupported ruby version '%s' not in '%s'" % (version, supported_versions))
17
18
native.register_toolchains(
19
"@org_ruby_lang_ruby_toolchain//:toolchain",
0 commit comments