I'm just trying to install ActiveAdmin. Seems pretty straightforward.
http://net.tutsplus.com/tutorials/ruby/create-beautiful-administration-interfaces-with-active-admin/
But when I get to rails generate active_admin:install
I get:
$ rails generate active_admin:install
/home/user/active_admin/config/application.rb:13:in `<module:ActiveAdmin>': superclass mismatch for class Application (TypeError)
from /home/user/active_admin/config/application.rb:12:in `<top (required)>'
from /home/user/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands.rb:24:in `require'
from /home/user/.rvm/gems/ruby-1.9.3-p429/gems/railties-3.2.13/lib/rails/commands.rb:24:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Can't seem to find anyone else with this problem. I even deleted active_admin and started the whole thing again from scratch... no dice.
You need to rename your application, it cannot be named active_admin
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With