Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

activeadmin.git (at master) is not yet checked out error when installing active admin

Active admin gem is added to my rails project but every time i tried to install rails g active_admin:install, I am getting error like

git://github.com/activeadmin/activeadmin.git (at master) is not yet checked out. Run bundle install first.

I definitely ran bundle before running "rails g active_admin:install". After running "bundle show" i am seeing i have " * activeadmin (1.0.0.pre 3f916d6)" added to my project but keep getting this error message.My gem file belowActive 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'
like image 234
Reaz Patwary Avatar asked Feb 12 '15 05:02

Reaz Patwary


2 Answers

I had the same issue. It is something to do with spring as when I removed it from the gemfile and run bundle install again, I was able to run rails g active_admin:install

like image 96
Marcus Hoile Avatar answered Oct 18 '22 02:10

Marcus Hoile


Instead of removing spring you could also try this tip from the spring github issue:

Try running bundle exec spring binstub --all - it should regenerate your bin/spring file

like image 43
einSelbst Avatar answered Oct 18 '22 03:10

einSelbst