Skip to content

Gem/Ruby warnings on Dashboard start (4.0.0) #4147

@robinkar

Description

@robinkar

While testing 4.0.0 (rockylinux 8 container with Ruby 3.3) we noticed that each time the dashboard starts, the following warnings are printed:

1737108785 2025 Jan 17 12:13:05 ood user notice ondemand_passenger  App 283 output: /usr/share/ruby/json/common.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.
1737108785 2025 Jan 17 12:13:05 ood user notice ondemand_passenger  App 283 output: You can add ostruct to your Gemfile or gemspec to silence this warning.
1737108785 2025 Jan 17 12:13:05 ood user notice ondemand_passenger  App 283 output: /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.0-1/gems/activesupport-7.0.8.5/lib/active_support/core_ext/object.rb:13: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
1737108785 2025 Jan 17 12:13:05 ood user notice ondemand_passenger  App 283 output: You can add bigdecimal to your Gemfile or gemspec to silence this warning.
1737108785 2025 Jan 17 12:13:05 ood user notice ondemand_passenger  App 283 output: /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.0-1/gems/activesupport-7.0.8.5/lib/active_support/notifications.rb:4: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0.
1737108785 2025 Jan 17 12:13:05 ood user notice ondemand_passenger  App 283 output: You can add mutex_m to your Gemfile or gemspec to silence this warning.

Would it be possible to get these warnings resolved in 4.0 to reduce the amount of unnecessary logging?

Metadata

Metadata

Assignees

Labels

community/requestIssues submitted by OOD community members

Type

No type

Projects

Status

Reviewed, Scheduled

Status

In Progress ✈

Relationships

None yet

Development

No branches or pull requests

Issue actions