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
In Ruby 3.4, the following warning around the ostruct gem is emitted. We can see it on this CI log:
/home/runner/work/dd-trace-rb/dd-trace-rb/tasks/github.rake:3: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
/opt/hostedtoolcache/Ruby/3.4.1/x64/bin/ruby -I/home/runner/work/dd-trace-rb/dd-trace-rb/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.2/lib:/home/runner/work/dd-trace-rb/dd-trace-rb/vendor/bundle/ruby/3.4.0/gems/rspec-support-3.13.2/lib /home/runner/work/dd-trace-rb/dd-trace-rb/vendor/bundle/ruby/3.4.0/gems/rspec-core-3.13.2/exe/rspec spec/datadog/core/runtime/metrics_spec.rb
/home/runner/work/dd-trace-rb/dd-trace-rb/lib/datadog/di/transport.rb:3: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
Hey @ybiquitous, thanks for the report! We spotted it recently as well; we had two other warnings that we're already WIP fixing (#4259, #4257) and this one is the last one.
We should have all fixes out within a release or two.
Tracer Version(s)
2.8.0
Ruby Version(s)
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [arm64-darwin23]
Relevent Library and Version(s)
No response
Bug Report
In Ruby 3.4, the following warning around the
ostruct
gem is emitted. We can see it on this CI log:https://github.com/DataDog/dd-trace-rb/actions/runs/12654738134/job/35263335640#step:5:10
Reproduction Code
No response
Configuration Block
No response
Error Logs
No response
Operating System
No response
How does Datadog help you?
No response
The text was updated successfully, but these errors were encountered: