Skip to content

Address Puma Deprecation Warning #3575

@aaronskiba

Description

@aaronskiba

DESCRIPTION

Pull request #3572 was merged as part of release v5.0.2. The changes in this PR include the execution of bundle update, which bumped many gems, including puma. We can now see a ...'on_worker_boot' is deprecated... warning when executing commands such as rails s:

$ rails s
=> Booting Puma
=> Rails 7.1.5.2 application starting in development 
=> Run `bin/rails server --help` for more startup options
Copying Bootstrap glyphicons to the public directory ...
Copying TinyMCE skins to the public directory ...
Use 'before_worker_boot', 'on_worker_boot' is deprecated and will be removed in v8

SOLUTION

Address the on_worker_boot code within config/puma.rb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions