尝试在 Rails 4 项目上安装 ActiveAdmin,并收到此错误:
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
activeadmin (>= 0) ruby depends on
activerecord (~> 3.0) ruby
rails (= 4.0.0) ruby depends on
activerecord (4.0.0)
我遵循了这个示例:Active admin install with Rails 4并将 activeadmin 添加到 gemfile 中,如下所示:
gem 'activeadmin',github:'gregbell/active_admin',分支:'rails4'
但还是不行;同样的错误。