Bundler could not find compatible versions for gem “activesupport”

后端 未结 4 1417
孤城傲影
孤城傲影 2021-01-17 17:08

I migrated to 3.2.13 version of rails and I am getting this error, how do I get rid of this?

Fetching gem metadata from https://rubygems.org/.......
Fetching         


        
4条回答
  •  无人共我
    2021-01-17 17:18

    ActiveAdmin with Rails 4 requires you to track master. From the github page:

    We're currently working on 1.0.0, which as far as dependencies, moves us from meta_search to Ransack and adds Rails 4 support. You can get Rails 4 and 4.1 support by tracking master:

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

    Also, make sure you DON'T use the docs on the main page because they are outdated for rails 4. There are updated docs for rails 4 with master.

    I'm not sure how much longer this answer will be relevant, so you should check github to see if things have changed before blindly tracking master. Also, note that tracking master usually means you will get development changes as they come.

提交回复
热议问题