protocolbuffers / rules_ruby

Ruby Rules for Bazel. This is a fork of https://github.com/bazelruby/rules_ruby exclusively for protobuf internal usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle absence of ruby installation

mkruskal-google opened this issue · comments

Similar to what we do for python (e.g. protocolbuffers/upb@248ed86), we should handle the missing ruby case more smoothly. As it's implemented right now, the WORKSPACE setup will break the entire protobuf repo when ruby isn't found. Instead, we should make ruby optional and only fail when ruby targets are requested