Skip to content

Zeitwerk and Turbo-rails Warning #734

Open
@rvalladares77

Description

@rvalladares77

I am upgrading an application from Rails 4 to Rails 6.1.7, with the goal of reaching Rails 7.x. To support this, I replaced Turbolinks with Turbo-rails. The replacement was successful, but running rails zeitwerk:check --trace triggers a warning message related to Turbo-rails.

rails zeitwerk:check
Hold on, I am eager loading the application.

WARNING: The following directories will only be checked if you configure
them to be eager loaded:

  /home/techdev/.rbenv/versions/3.1.4/lib/ruby/gems/3.1.0/gems/turbo-rails-1.5.0/app/channels

You may verify them manually, or add them to config.eager_load_paths
in config/application.rb and run zeitwerk:check again.

Otherwise, all is good!

Stack:
Ruby 3.1.4
Rails 6.1.7
turbo-rails 1.5.0

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