Sylar
Sylar

Reputation: 12072

Active admin install with Rails 5

I am sure people are using both Rails 5 beta 3, Devise and ActiveAdmin in their app today. For me, with a virgin installation of Rails 5 beta 3, I am fighting a battle. I have managed to install devise:

gem "devise", :github => 'plataformatec/devise', :branch => 'master'
gem 'activeadmin', '~> 1.0.0.pre2'

ActiveAdmin complains about:

/Users/sylar/.rvm/gems/ruby-2.2.3/gems/activeadmin-1.0.0.pre2/lib/generators/active_admin/devise/devise_generator.rb:22:in `rescue in install_devise': You provided devise 4.0.0.rc2 but we need: ~> 3.2. If you don't want to use devise, run the generator with --skip-users. (ActiveAdmin::GeneratorError)

I just cant get it to install. What is the correct gem for ActiveAdmin?

They also state to use Devise 4 but complains about devise 4.

Upvotes: 1

Views: 1839

Answers (1)

rahul patil
rahul patil

Reputation: 697

Could you try this

gem 'inherited_resources', github: 'activeadmin/inherited_resources'
gem 'activeadmin', github: 'activeadmin'

Upvotes: 2

Related Questions