LoginSignup
9
8

More than 1 year has passed since last update.

Rails4 で ActiveAdmin が bundle install 出来ない時の対処法

Last updated at Posted at 2015-10-27

これじゃうまく動かない。

Gemfile
gem 'activeadmin'

公式のとおりにやってもダメ。

Gemfile
# Gemfile in Rails >= 3.1
gem 'activeadmin'
gem 'sass-rails'
gem "meta_search", '>= 1.1.0.pre'

こうする。

Gemfile
gem 'activeadmin', github: 'activeadmin'
$ bundle install

できた!

問題

Rails のバージョンによっては、bundle install しようとするだけでエラーが出るようだ。
meta_search を削除しろと言われるが、よく分からなかった。

Your Gemfile requires gems that depend on each other, creating an infinite loop. Please remove gem 'meta_search' and try again.

環境

  • Rails 4.2.4
  • ruby 2.2.3
  • Bundler version 1.10.6
  • rails new でプロジェクトを作ったばかりの状態

参考

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

メンター受付

9
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
8