Invalid route name, already in use: 'admin_root' (ArgumentError) - Failed ActiveAdmin install
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.
Installing Active Admin and getting an ArgumentError
I had the same error when upgrading to rails 4 with ActiveAdmin and it turned out this line was repeated twice in my routes.rb: ActiveAdmin.routes(self)
I removed the second instance and the error went away.
Related Topics
What's the Differences Between Ruby on Rails and Ruby
What Ruby and Rails Developers Ought to Know
How to Check If a Specific Key Is Present in a Hash or Not
Zsh Complains About Rvm _Rvm_Cleanse_Variables: Function Definition File Not Found
One Line If Statement Not Working
Test Whether a Ruby Class Is a Subclass of Another Class
Using --No-Rdoc and --No-Ri with Bundler
Differencebetween 'Raise "Foo"' and 'Raise Exception.New("Foo")'
Practical Example of Architecture Using Ebc
Writing a Ruby Extension in Go (Golang)
How to Add to an Existing Hash in Ruby
Implicit User Creation with Authlogic and Authlogic Oauth Plugin
How to Merge Two Equally Sized Arrays into One Array with Sub-Arrays of Merged Values