Ruby on rails 捆绑程序找不到gem xx的兼容版本

Ruby on rails 捆绑程序找不到gem xx的兼容版本,ruby-on-rails,Ruby On Rails,我正在将rails从4.2升级到5.0,我遇到了一些严重的依赖性问题。 当我运行bundle update时,我得到以下输出。 问题是,当我浏览这些消息时,在查看版本要求时,gems应该能够安装得很好 我还试图删除我的Gemfile.lock,但没有用 如有任何建议,将不胜感激 Bundler could not find compatible versions for gem "actionpack": In Gemfile: activeadmin (~>

我正在将rails从4.2升级到5.0,我遇到了一些严重的依赖性问题。 当我运行
bundle update
时,我得到以下输出。 问题是,当我浏览这些消息时,在查看版本要求时,gems应该能够安装得很好

我还试图删除我的Gemfile.lock,但没有用

如有任何建议,将不胜感激

Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    activeadmin (~> 1.1.0) was resolved to 1.1.0, which depends on
      inherited_resources (~> 1.7) was resolved to 1.10.0, which depends on
        actionpack (< 6.0, >= 5.0)

    rails (= 5.0.0) was resolved to 5.0.0, which depends on
      actionpack (= 5.0.0)

    ransack (= 1.8.10) was resolved to 1.8.10, which depends on
      actionpack (< 5.2, >= 3.0)

    route_translator (= 5.0.0) was resolved to 5.0.0, which depends on
      actionpack (< 5.1, >= 5.0.0)

    simple_form (= 3.5.0) was resolved to 3.5.0, which depends on
      actionpack (< 5.2, > 4)

    slim-rails (~> 3.2.0) was resolved to 3.2.0, which depends on
      actionpack (>= 3.1)

Bundler could not find compatible versions for gem "activeadmin":
  In Gemfile:
    activeadmin (~> 1.1.0)

    activeadmin_quill_editor (= 0.2.0) was resolved to 0.2.0, which depends on
      activeadmin (>= 1.0)

Bundler could not find compatible versions for gem "activemodel":
  In Gemfile:
    openid_connect (~> 1.2.0) was resolved to 1.2.0, which depends on
      activemodel

    paperclip (= 5.2.1) was resolved to 5.2.1, which depends on
      activemodel (>= 4.2.0)

    rails (= 5.0.0) was resolved to 5.0.0, which depends on
      activemodel (= 5.0.0)

    simple_form (= 3.5.0) was resolved to 3.5.0, which depends on
      activemodel (< 5.2, > 4)

Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    friendly_id (= 5.0.5) was resolved to 5.0.5, which depends on
      activerecord (>= 4.0.0)

    rails (= 5.0.0) was resolved to 5.0.0, which depends on
      activerecord (= 5.0.0)

    ransack (= 1.8.10) was resolved to 1.8.10, which depends on
      activerecord (< 5.2, >= 3.0)

Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    paperclip (= 5.2.1) was resolved to 5.2.1, which depends on
      activesupport (>= 4.2.0)

    rails (= 5.0.0) was resolved to 5.0.0, which depends on
      activesupport (= 5.0.0)

    ransack (= 1.8.10) was resolved to 1.8.10, which depends on
      activesupport (< 5.2, >= 3.0)

    route_translator (= 5.0.0) was resolved to 5.0.0, which depends on
      activesupport (< 5.1, >= 5.0.0)

Bundler could not find compatible versions for gem "autoprefixer-rails":
  In Gemfile:
    autoprefixer-rails (~> 9.7.4)

    bootstrap (~> 4.4.1) was resolved to 4.4.1, which depends on
      autoprefixer-rails (>= 9.1.0)

Bundler could not find compatible versions for gem "devise":
  In Gemfile:
    devise (= 4.0.0)

    devise-token_authenticatable (~> 0.5.3) was resolved to 0.5.3, which depends on
      devise (< 4.4.0, >= 4.0.0)

Bundler could not find compatible versions for gem "execjs":
  In Gemfile:
    execjs (= 1.4.0)

    autoprefixer-rails (~> 9.7.4) was resolved to 9.7.6, which depends on
      execjs

    uglifier (~> 3.0) was resolved to 3.2.0, which depends on
      execjs (< 3, >= 0.3.0)

Bundler could not find compatible versions for gem "inherited_resources":
  In Gemfile:
    inherited_resources

    activeadmin (~> 1.1.0) was resolved to 1.1.0, which depends on
      inherited_resources (~> 1.7)

Bundler could not find compatible versions for gem "jquery-rails":
  In Gemfile:
    jquery-rails (= 4.0.0)

    activeadmin (~> 1.1.0) was resolved to 1.1.0, which depends on
      jquery-rails

Bundler could not find compatible versions for gem "mimemagic":
  In Gemfile:
    mimemagic

    paperclip (= 5.2.1) was resolved to 5.2.1, which depends on
      mimemagic (~> 0.3.0)

Bundler could not find compatible versions for gem "nokogiri":
  In Gemfile:
    nokogiri (= 1.8.2)

    paperclip (= 5.2.1) was resolved to 5.2.1, which depends on
      mimemagic (~> 0.3.0) was resolved to 0.3.10, which depends on
        nokogiri (~> 1)

    savon (~> 2.12.1) was resolved to 2.12.1, which depends on
      nokogiri (>= 1.8.1)

Bundler could not find compatible versions for gem "paperclip":
  In Gemfile:
    paperclip (= 5.2.1)

    paperclip-compression (~> 1.1) was resolved to 1.1.1, which depends on
      paperclip (>= 5.2.1)

Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    coffee-rails (= 5.0.0) was resolved to 5.0.0, which depends on
      railties (>= 5.2.0)

    rails (= 5.0.0) was resolved to 5.0.0, which depends on
      railties (= 5.0.0)

Bundler could not find compatible versions for gem "rake":
  In Gemfile:
    rake (= 10.4.2)

    paperclip (= 5.2.1) was resolved to 5.2.1, which depends on
      mimemagic (~> 0.3.0) was resolved to 0.3.10, which depends on
        rake

    rails (= 5.0.0) was resolved to 5.0.0, which depends on
      railties (= 5.0.0) was resolved to 5.0.0, which depends on
        rake (>= 0.8.7)

Bundler could not find compatible versions for gem "responders":
  In Gemfile:
    responders (~> 2.3.0)

    devise (= 4.0.0) was resolved to 4.0.0, which depends on
      responders

    activeadmin (~> 1.1.0) was resolved to 1.1.0, which depends on
      inherited_resources (~> 1.7) was resolved to 1.10.0, which depends on
        responders (~> 2.0)
Bundler找不到gem“actionpack”的兼容版本:
在文件中:
activeadmin(~>1.1.0)已解析为1.1.0,这取决于
继承的_资源(~>1.7)已解析为1.10.0,这取决于
actionpack(<6.0,>=5.0)
rails(=5.0.0)已解析为5.0.0,这取决于
actionpack(=5.0.0)
ransack(=1.8.10)已解析为1.8.10,这取决于
actionpack(<5.2,>=3.0)
route_translator(=5.0.0)已解析为5.0.0,这取决于
actionpack(<5.1,>=5.0.0)
简单形式(=3.5.0)解析为3.5.0,这取决于
actionpack(<5.2,>4)
slim rails(~>3.2.0)已解析为3.2.0,这取决于
actionpack(>=3.1)
捆绑程序找不到gem“activeadmin”的兼容版本:
在文件中:
activeadmin(~>1.1.0)
activeadmin_quill_编辑器(=0.2.0)已解析为0.2.0,这取决于
activeadmin(>=1.0)
捆绑程序找不到gem“activemodel”的兼容版本:
在文件中:
openid_connect(~>1.2.0)已解析为1.2.0,这取决于
活动模型
回形针(=5.2.1)解析为5.2.1,这取决于
activemodel(>=4.2.0)
rails(=5.0.0)已解析为5.0.0,这取决于
activemodel(=5.0.0)
简单形式(=3.5.0)解析为3.5.0,这取决于
activemodel(<5.2,>4)
捆绑程序找不到gem“activerecord”的兼容版本:
在文件中:
友好id(=5.0.5)已解析为5.0.5,这取决于
activerecord(>=4.0.0)
rails(=5.0.0)已解析为5.0.0,这取决于
activerecord(=5.0.0)
ransack(=1.8.10)已解析为1.8.10,这取决于
activerecord(<5.2,>=3.0)
捆绑程序找不到gem“activesupport”的兼容版本:
在文件中:
回形针(=5.2.1)解析为5.2.1,这取决于
activesupport(>=4.2.0)
rails(=5.0.0)已解析为5.0.0,这取决于
动态支持(=5.0.0)
ransack(=1.8.10)已解析为1.8.10,这取决于
activesupport(<5.2,>=3.0)
route_translator(=5.0.0)已解析为5.0.0,这取决于
activesupport(<5.1,>=5.0.0)
Bundler找不到gem“autoprefixer rails”的兼容版本:
在文件中:
自动刷新器轨道(~>9.7.4)
引导(~>4.4.1)已解析为4.4.1,这取决于
自动刷新器轨道(>=9.1.0)
捆绑程序找不到gem“designe”的兼容版本:
在文件中:
设计(=4.0.0)
designe-token_authenticable(~>0.5.3)已解析为0.5.3,这取决于
设计(<4.4.0,>=4.0.0)
捆绑程序找不到gem“execjs”的兼容版本:
在文件中:
execjs(=1.4.0)
autoprefixer rails(~>9.7.4)已解析为9.7.6,这取决于
execjs
uglifier(~>3.0)被解析为3.2.0,这取决于
execjs(<3,>=0.3.0)
捆绑程序找不到gem“继承的_资源”的兼容版本:
在文件中:
遗传资源
activeadmin(~>1.1.0)已解析为1.1.0,这取决于
继承的资源(~>1.7)
Bundler找不到gem“jquery rails”的兼容版本:
在文件中:
jquery rails(=4.0.0)
activeadmin(~>1.1.0)已解析为1.1.0,这取决于
jquery rails
Bundler找不到gem“mimemagic”的兼容版本:
在文件中:
迷幻药
回形针(=5.2.1)解析为5.2.1,这取决于
mimemagic(~>0.3.0)
Bundler找不到gem“nokogiri”的兼容版本:
在文件中:
nokogiri(=1.8.2)
回形针(=5.2.1)解析为5.2.1,这取决于
mimemagic(~>0.3.0)被解析为0.3.10,这取决于
nokogiri(~>1)
savon(~>2.12.1)被解析为2.12.1,这取决于
nokogiri(>=1.8.1)
Bundler找不到gem“回形针”的兼容版本:
在文件中:
回形针(=5.2.1)
回形针压缩(~>1.1)已解析为1.1.1,这取决于
回形针(>=5.2.1)
Bundler找不到gem“railties”的兼容版本:
在文件中:
咖啡轨(=5.0.0)已解析为5.0.0,这取决于
钢轨(>=5.2.0)
rails(=5.0.0)已解析为5.0.0,这取决于
栏杆(=5.0.0)
捆绑程序找不到gem“rake”的兼容版本:
在文件中:
耙(=10.4.2)
回形针(=5.2.1)解析为5.2.1,这取决于
mimemagic(~>0.3.0)被解析为0.3.10,这取决于
耙
rails(=5.0.0)已解析为5.0.0,这取决于
railties(=5.0.0)已解析为5.0.0,这取决于
耙(大于等于0.8.7)
捆绑程序找不到gem“响应程序”的兼容版本:
在文件中:
响应者(~>2.3.0)
设计(=4.0.0)已解析为4.0.0,这取决于
响应者
activeadmin(~>1.1.0)已解析为1.1.0,这取决于
继承的_资源(~>1.7)已解析为1.10.0,这取决于
响应者(~>2.0)

最有可能的情况是,您的GEM文件中的某些特定GEM存在一些强大的约束,即它阻止bundle更新依赖项。

这并不能回答这个问题。一旦你有足够的钱,你将能够;相反谢谢你,费德里科!我所做的就是在运行
bundle update rails
之前,对gem文件中的几乎所有gem进行注释。然后我一个接一个地取消了宝石的注释。W