Ruby on rails bundler在我认为应该的时候找不到兼容的版本

Ruby on rails bundler在我认为应该的时候找不到兼容的版本,ruby-on-rails,bundler,Ruby On Rails,Bundler,我从Bundler那里收到这个消息 Bundler could not find compatible versions for gem "actionpack": In Gemfile: rails (= 5.1.7) was resolved to 5.1.7, which depends on actionpack (= 5.1.7) simple_form was resolved to 5.0.3, which depends on

我从Bundler那里收到这个消息

Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    rails (= 5.1.7) was resolved to 5.1.7, which depends on
      actionpack (= 5.1.7)

    simple_form was resolved to 5.0.3, which depends on
      actionpack (>= 5.0)
在我看来,5.1.7应该满足>=5.0,所以actionpack 5.1.7应该是兼容的


我遗漏了什么?

运行
包更新
这就是生成此消息的原因。