ruby-on-railsruby-on-rails-4activeadminarbre

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!


Solution

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