Skip to content

Rails 7, annotate --routes failed #983

Open
@SimBed

Description

@SimBed

Thanks for the gem. I am just trying it out in Rails 7 after listening to an episode of the Ruby for All podcast where it is referred.

annotate --routes

rake aborted!
Don't know how to build task 'routes' (See the list of available tasks with `rake --tasks`)

This is due to the the rake routes deprecation [need to use rails routes instead]. An issue was raised earlier about the deprecation warning (just gave a warning, but continued to work in Rails 6.0). Now in 7.0 it fails.

Thanks Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions