Skip to content

Deprecation Warning on Rails 6.1 - bin/rake routes #696

Open
@andrewek

Description

@andrewek

On Rails 6.0.1, with the latest dependency, I received the following warning upon route annotation:

DEPRECATION WARNING: Using `bin/rake routes` is deprecated and will be removed in Rails 6.1. Use `bin/rails routes` instead.
 (called from load at /usr/local/bundle/bin/rake:23)
config/routes.rb annotated.

I'll do some research into what it would take to resolve this deprecation warning without breaking backwards compatibility too badly.

I should also note that annotation happened correctly.

Commands

$ annotate --routes

Version

  • annotate version - 3.0.3
  • rails version - 6.0.1
  • ruby version: 2.6.5p114

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions