Using Bzlmod with Bazel 7-8
- Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.17.0")
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_ruby", version = "0.17.0")
Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Skylib is a dependency, remove if you already have it.
http_archive(
name = "bazel_skylib",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
],
)
http_archive(
name = "rules_ruby",
sha256 = "47377a7320b81db4524eef9e56ecfbf1bec03be9bee859cc48595c1f3a37b569",
strip_prefix = "rules_ruby-0.17.0",
url = "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.17.0/rules_ruby-v0.17.0.tar.gz",
)
What's Changed
- chore(deps): update bazel-contrib/setup-bazel action to v0.12.0 by @renovate in #187
- chore(deps): update dependency gazelle to v0.41.0 by @renovate in #189
- chore(deps): update bazel-contrib/setup-bazel action to v0.12.1 by @renovate in #188
- chore(deps): update dependency buildifier_prebuilt to v8 by @renovate in #190
- chore(deps): update dependency rules_go to v0.52.0 by @renovate in #191
- chore(deps): update dependency aspect_bazel_lib to v2.11.0 by @renovate in #192
- chore(deps): update dependency bazel to v8.0.1 by @renovate in #193
- chore(deps): update dependency buildifier_prebuilt to v8.0.1 by @renovate in #194
- chore(deps): update dependency stardoc to v0.8.0 by @renovate in #196
- feat: expose MRI C headers and JRuby jars by @p0deje in #197
- chore(deps): update bazel-contrib/setup-bazel action to v0.13.0 by @renovate in #198
- chore: test all examples on the same bazel version by @p0deje in #202
- chore(deps): ignore rules_cc and rules_java by @p0deje in #204
- feat: update rubies by @p0deje in #203
- fix: include rb_binary script wrapper in DefaultInfo by @pjjw in #195
New Contributors
Full Changelog: v0.16.0...v0.17.0