Skip to content

Warning in logs: "warning: literal string will be frozen in the future" #122

@natebird

Description

@natebird

I am seeing the following warning when running the test suite of a Rails app.

/home/vscode/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/marcel-1.0.4/lib/marcel/magic.rb:120: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)

Is this something in my code base or something in the Marcel gem? It looks like the gem is freezing all the strings so I'm not sure what to do with this warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions