bazelruby / rules_ruby

Formerly canonical rules for ruby, that are about 2-3 years behind current Bazel. If they work for you great, but if not — please try the new rules ruby by Alex Radionov: https://github.com/bazel-contrib/rules_ruby
Apache License 2.0
99 stars 37 forks source link

`ruby_bundle` should support local gems #62

Closed shs96c closed 3 years ago

shs96c commented 4 years ago

It is sometimes helpful to commit gems into a source repository and use them from there (eg. Selenium vendors all gems into our tree to avoid issues with slow networks at build time). ruby_bundle should support this use case in some way.

https://github.com/SeleniumHQ/selenium/tree/master/third_party/rb

kigster commented 4 years ago

That’s a good point.

Where do you typically put your gems? Are they stored as .gem files? Do you use bundler to cache gem files?

kigster commented 4 years ago

Never mind I see how it’s stored.