简体   繁体   English

Ruby Gem ActiveAdmin安装错误

[英]Ruby Gem ActiveAdmin Install Error

i am trying to install ActiveAdmin Gem i get the following error. 我正在尝试安装ActiveAdmin Gem我收到以下错误。 i am running it from the commandline 我从命令行运行它

harsha@harshamv:~$ gem install activeadmin
ERROR:  While executing gem ... (Gem::DependencyResolutionError)
    conflicting dependencies arel (~> 2.0.2) and arel (~> 4.0.0)
  Activated arel-4.0.0 via:
    arel-4.0.0 (~> 4.0.0), activerecord-4.0.0.rc2 (= 4.0.0.rc2), rails-4.0.0.rc2 (< 4, >= 3.0.0), activeadmin-0.6.3 (= 0.6.3)
  instead of (~> 2.0.2) via:
    meta_search-1.0.0 (~> 1.0), activeadmin-0.6.3 (= 0.6.3)

If you are using Rails 4, you need to use >= 1.0.0.pre version of ActiveAdmin. 如果您使用的是Rails 4,则需要使用>= 1.0.0.pre版本的ActiveAdmin。 The best way of doing that right now is: 现在最好的方法是:

gem 'activeadmin', github: 'gregbell/active_admin'

in your Gemfile. 在你的Gemfile中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM