Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Bazel for Ruby

Bazel for Ruby

A talk about using Bazel in Ruby projects for SF Bay Area Ruby Meetup on January 16, 2025 (https://lu.ma/goujxu3a?tk=xB1NnX).

Alex Rodionov

January 16, 2025
Tweet

More Decks by Alex Rodionov

Other Decks in Programming

Transcript

  1. ALEX RODIONOV - Quality Architect @ Toptal - Author @

    Maccy - Ruby maintainer @ Selenium - Co-founder @ Alumnium.ai - Member @ Bazel Rules SIG
  2. - Build and test tool - Open source and created

    at Google - Designed for monorepos - Polyglot (Java, Python, Go, JavaScript, etc.) - Extremely e ffi cient and scalable - Hermetic - Supports remote caching and remote execution WHAT IS BAZEL?
  3. IT’S POLYGLOT - rules_java - rules_python - rules_nodejs - rules_ts

    - rules_go - rules_rust - rules_oci (Docker) - rules_helm - … - rules_ruby
  4. - Supports Ruby language in Bazel ecosystem - Installs Ruby

    itself (MRI, JRuby, Tru ff l eRuby) - Installs dependencies via Bundler - Provides interface for common operations - rb_library - rb_gem_build - rb_gem_push - rb_binary - rb_test RULES_RUBY