-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempt to install bundler fails #216
Comments
Bundler gem installation works under To disable, you could comment out the following piece: rules_ruby/ruby/private/bundle_fetch.bzl Lines 170 to 180 in d7cd5d6
|
Patching Instead of the stack trace seen in the description, I need now see:
|
That's good. Unfortunately, I cannot change |
Do you need a Docker file with a similar setup for use in troubleshooting / regression testing? |
It would be great if you could share one. |
I tried to reproduce the issue locally by grabbing the protobuf repository from main, removing the patch you've added ( |
I have a CI system that runs Ruby tests via bazel inside a docker image, with a dedicated image per bazel version + ruby version that we support.
The docker image is built with the desired bazel version, and ruby is installed via RVM at docker image build time along with the version of
bundler
we use to generate ourGemfile.lock
.The following error is observed in the PR where I'm attempting to adopt
rules_ruby
, which indicates thatrules_ruby
is trying to installbundler-2.4.22
despite it being installed already. It fails, presumably because of bazel sandbox rules.Is there something I need to do differently to prevent
rules_ruby
from attempting the installation? Does gem installation ever work when using thesystem
version and if not, should disabling automatic installation ofbundler
be disabled in this configuration?The text was updated successfully, but these errors were encountered: