You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 5, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 5, 2026. It is now read-only.
The glob in the srcs attr does not match any of the files, as both the gem name and contents are possibly incorrect.
In grpc's case, the path is lib/ruby/2.7.0/gems/grpc-1.35.0-x86_64-linux/... and does not contain a 'lib' directory.
In google-protobuf's case, the path is lib/ruby/2.7.0/gems/google-protobuf-3.14.0-x86_64-linux/... and does contain a 'lib' directory.
Therefore, when trying to require 'grpc' it cannot find any files:
/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- grpc (LoadError)
Cycling back around to this: grpc still fails to load due to missing a file at etc/roots.pem. It's a pretty odd layout that can be fixed by adding includes = {"grpc": ["etc"]} to the ruby_bundle call, but I dunno if there's a fix you want to do here for that?
Activity
kigster commentedon Jul 8, 2021
This is a known limitation.
When adding gems we were hard coding the lib folder. The PR submitted by @mmizutani should fix it.
aaliddell commentedon Sep 17, 2021
Cycling back around to this: grpc still fails to load due to missing a file at
etc/roots.pem. It's a pretty odd layout that can be fixed by addingincludes = {"grpc": ["etc"]}to theruby_bundlecall, but I dunno if there's a fix you want to do here for that?