Invalid route name, already in use: 'admin_root' (ArgumentError) - Failed ActiveAdmin install

前端 未结 2 596
广开言路
广开言路 2021-01-28 16:20

I ran:

rails g active_admin:install

and got this error:

Invalid route name, already in use: \'admin_root\'  (ArgumentError)
You         


        
2条回答
  •  感动是毒
    2021-01-28 16:52

    Solved it by uninstalling ActiveAdmin, reinstalling it, deleting the second ActiveAdmin.routes(self) in my routes file, then deleting my schema file. After that, I ran rake db:reset and remigrated the database.

提交回复
热议问题