We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
tapioca dsl
Hey! I'm instrumenting a ruby rails app with OpenTelemetry, and I noticed that just adding the
gem 'opentelemetry-sdk' gem 'opentelemetry-exporter-otlp' gem 'opentelemetry-instrumentation-all'
to the Gemfile causes tapioca dsl to crash with this weird error:
> bundle exec tapioca dsl ... Error: `Tapioca::Dsl::Compilers::Protobuf` failed to generate RBI for `Google::Protobuf::AbstractMessage` bundler: failed to load command: tapioca (/Users/seva/.asdf/installs/ruby/3.2.2/bin/tapioca) /Users/seva/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/tapioca-0.10.5/lib/tapioca/dsl/compilers/protobuf.rb:148:in `block in decorate': TypeError: Unexpected descriptor class: NilClass (Parallel::UndumpableException) from /Users/seva/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/tapioca-0.10.5/lib/tapioca/rbi_ext/model.rb:40:in `block in create_class' from <internal:kernel>:90:in `tap' ...
(full stack trace here)
The weird thing is that we don't use google-protobuf, and adding it to the Gemfile doesn't help either.
google-protobuf
Removing the OpenTelemetry gems from the Gemfile allows tapioca dsl to succeed.
I'm at a loss here as to what to do. I tried to find ways to ignore the OpenTelemetry gems, but couldn't find anything that works.
Any suggestions to what I can do here?
Thanks!
The text was updated successfully, but these errors were encountered:
I did find this #1411 similar issue
Sorry, something went wrong.
Update: I noticed that the tapoica version in that issue was higher than ours, so I'll report back after I update tapioca 😅
Looks like just updating helped!
No branches or pull requests
Hey! I'm instrumenting a ruby rails app with OpenTelemetry, and I noticed that just adding the
to the Gemfile causes
tapioca dsl
to crash with this weird error:(full stack trace here)
The weird thing is that we don't use
google-protobuf
, and adding it to the Gemfile doesn't help either.Removing the OpenTelemetry gems from the Gemfile allows
tapioca dsl
to succeed.I'm at a loss here as to what to do. I tried to find ways to ignore the OpenTelemetry gems, but couldn't find anything that works.
Any suggestions to what I can do here?
Thanks!
The text was updated successfully, but these errors were encountered: