我删除了我的 Gemfile.lock,将我的更改gem 'rails', '5.2'
为gem 'rails', '6.0'
并进行捆绑安装。
我得到很多依赖错误。但我无法理解它们,因为它们看起来还不错。
我收到这样的错误:
Bundler could not find compatible versions for gem "pry":
In Gemfile:
guard-rspec (~> 4.7.0) was resolved to 4.7.3, which depends on
guard (~> 2.1) was resolved to 2.16.2, which depends on
pry (>= 0.9.12)
pry-doc was resolved to 1.1.0, which depends on
pry (~> 0.11)
pry-nav was resolved to 0.3.0, which depends on
pry (>= 0.9.10, < 0.13.0)
pry-rails was resolved to 0.3.9, which depends on
pry (>= 0.10.4)
还有更多.. 在上面似乎依赖关系应该没问题,即 pry-doc 的 0.11 大于所有其他的,并且它们都指定大于或等于。