Reputation: 163
I have included gem 'activeadmin', github: 'activeadmin'
in my gem file and run bundle install.
When I run
rails g active_admin:install AdminUser
it gives me error
invoke devise /home/test/.rvm/gems/ruby-2.1.5@module/gems/activeadmin-1.0.0.pre1/lib/generators/active_admin/devise/devise_generator.rb:21:in `rescue in install_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. (ActiveAdmin::GeneratorError)
Please guide me how to solve this.
Upvotes: 2
Views: 1282
Reputation: 7655
Add in your Gemfile the following line:
gem 'devise'
then
bundle install
Now you are ready to continue.
Note I would not recommend to go with the second option (skipping users).
Upvotes: 6
Reputation: 34318
Add devise
to your Gemfile
:
gem 'devise'
Then run:
bundle install
Upvotes: 0