Pavel
Pavel

Reputation: 1974

Activeadmin: Could not find arbre-1.0.1 in any of the sources

I'm trying to run rails g active_admin:install script after installing of activeadmin gem. When I run this script I get an error

Could not find arbre-1.0.1 in any of the sources
Run `bundle install` to install missing gems.

Although I've already installed all necessary gems and my app is using arbre gem:

Using arbre 1.0.1

Gemfile:

source 'https://rubygems.org'

gem 'rails', '4.1.1'
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: 'gregbell/active_admin'

How can I fix that problem? Thanks!

Upvotes: 0

Views: 355

Answers (2)

Pavel
Pavel

Reputation: 1974

The problem is the wrong gemset for the app. For me solution was rvm use 2.1.1@your_gemset and restarting terminal

Upvotes: 0

Sergio Lopez Mendez
Sergio Lopez Mendez

Reputation: 542

Take a look at https://github.com/gregbell/active_admin/issues/3216. Although the cause of the problem is not mentioned they recommend deleting Gemfile.lock and running bundle install again.

Upvotes: 2

Related Questions