I am using active admin as given in Active admin install with Rails 4 . gem 'activeadmin', github: 'activeadmin' is installing. But still i am getting error after running rails generate active_admin:install
. The error is
DEPRECATION WARNING: Support for Rails < 4.0.4 will be dropped from Formtastic 4.0. invoke devise
To use devise you need to specify it in your Gemfile. If you don't want to use devise, run the generator with --skip-users.
It means you did not install devise .
You want to
a) install devise: gem install devise
, and then run rails generate active_admin:install
. This will create default AdminUser object.
b) use the hint from warning, and install activeadmin with rails generate active_admin:install --skip-users
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.