Activeadmin readme suggests to use following to use for primary support on rails 5.
gem 'inherited_resources', github: 'activeadmin/inherited_resources
Even after $ bundle install
it says there is no active_admin:install
generator available.
$ rails generate active_admin:install
Running via Spring preloader in process 6209
Could not find generator 'active_admin:install'. Maybe you meant 'responders:install', 'active_record:model' or 'active_record:migration'
Run `rails generate --help` for more options.
Active Admin master has preliminary support for Rails 5. To give it a try, these Gemfile changes may be needed .
Whats mean you should add this gem with gem 'activeadmin', github: 'activeadmin'
, so Gemfile should looks like:
gem 'activeadmin', github: 'activeadmin'
gem 'inherited_resources', github: 'activeadmin/inherited_resources
Read the readme carefully.
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.