5

我只是想安装 ActiveAdmin。看起来很简单。

http://net.tutsplus.com/tutorials/ruby/create-beautiful-administration-interfaces-with-active-admin/

但是当我到达 rails 生成 active_admin:install

我得到:

$ 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>'

似乎找不到其他有此问题的人。我什至删除了 active_admin 并从头开始重新开始整个事情......没有骰子。

4

1 回答 1

9

您需要重命名您的应用程序,它不能命名为active_admin.

于 2013-06-23T20:21:33.773 回答