Activeadmin.git (at the wizard) does not yet generate an error when installing the active administrator

Active admin gem is added to my rails project, but every time I tried to install rails g active_admin:install , I get an error, for example

git: //github.com/activeadmin/activeadmin.git (the wizard) has not yet been verified. Run bundle install .

I definitely ran the package before running "rails g active_admin: install". After running "show bundle", I see that I have "* activeadmin (1.0.0.pre 3f916d6)" added to my project, but I continue to receive this error message. My gem file is below Active Admin Error with bundle show

 source 'https://rubygems.org' gem 'rails', '4.1.8' gem 'sqlite3' gem 'sass-rails', '~> 4.0.3' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.0.0' gem 'jquery-rails' gem 'turbolinks' gem 'jbuilder', '~> 2.0' gem 'sdoc', '~> 0.4.0', group: :doc gem 'spring', group: :development gem 'devise' gem 'activeadmin', github: 'activeadmin' 
+5
source share
2 answers

I had the same problem. This has something to do with spring, when I removed it from gemfile and ran bundle install again, I was able to run rails g active_admin:install

+8
source

Instead of removing spring, you can also try this tip from spring github issue :

Try running the exec spring binstub --all - it should restore your bin/spring file

+4
source

Source: https://habr.com/ru/post/1213202/


All Articles