1

我有一个使用 Rails 4.2.4、Mongoid 4 的项目,我想升级到 Rails 5.1.0.rc1 和 Mongoid 6.1.0。

我已按照[此处](http://railsapps.github.io/updating-rails.html)的说明进行操作,但是当我运行命令时bundle update出现以下错误:

Bundler could not find compatible versions for gem "rack":
In Gemfile:
rails (= 5.1.0.rc1) was resolved to 5.1.0.rc1, which depends on
  actionpack (= 5.1.0.rc1) was resolved to 5.1.0.rc1, which depends on
    rack (~> 2.0)

sinatra (>= 1.3.0) was resolved to 1.3.0, which depends on
  rack (~> 1.3)

关于为什么的任何想法?

4

0 回答 0